#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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to