[GHC] #5764: Double addition error
GHC
cvs-ghc at haskell.org
Fri Jan 13 13:49:09 CET 2012
#5764: Double addition error
------------------------------------------+---------------------------------
Reporter: jimstutt | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.2
Resolution: invalid | Keywords:
Os: Unknown/Multiple | Architecture: x86
Failure: Incorrect result at runtime | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
------------------------------------------+---------------------------------
Comment(by jimstutt):
Embarrassment. Didn't mean to waste time - didn't know or realise ghc
stuck to IEEE representation nor that addition has rounding errors, not
just division. Back to "what every scientist should know about floating
point..". And too blind to see 3.0 not .3. Apologies.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5764#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list