<div dir="ltr">I'm getting a segfault on this expression entered into ghci:<div><br></div><div><div>GHCi, version 7.6.3: <a href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a>  :? for help</div><div>Loading package ghc-prim ... linking ... done.</div>
<div>Loading package integer-gmp ... linking ... done.</div><div>Loading package base ... linking ... done.</div><div>Prelude> fromIntegral (floor $ sqrt (-123.123)) == -123.123</div><div>Segmentation fault: 11</div></div>
<div><br></div><div>I'm running the 32-bit version of the Haskell Platform on OSX.</div><div><br></div><div>Is this a bug? a problem with my setup? "Just don't take square roots of negative numbers - you should know better!"???</div>
<div><br></div></div>