[GHC] #4867: ghci displays negative floats incorrectly (was: Incorrect result from trig functions) (was: Incorrect result from trig functions)
GHC
cvs-ghc at haskell.org
Thu Jan 6 16:08:50 CET 2011
#4867: ghci displays negative floats incorrectly (was: Incorrect result from trig
functions)
-------------------------------+--------------------------------------------
Reporter: gwright | Owner: gwright
Type: bug | Status: new
Priority: high | Milestone: 7.0.2
Component: GHCi | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Comment(by gwright):
The bug appears when I try to display negative floating point numbers:
{{{
Prelude> -1
-1
Prelude> -2.0
-8.751772232148878e-77
Prelude>
}}}
I've updated the summary to indicate that this is the real problem.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4867#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list