#5389: Floating point error
------------------------------------------+---------------------------------
  Reporter:  Gabi                         |          Owner:                     
  
      Type:  bug                          |         Status:  closed             
  
  Priority:  normal                       |      Milestone:                     
  
 Component:  GHCi                         |        Version:  6.12.1             
  
Resolution:  invalid                      |       Keywords:  floating point 
errors
  Testcase:  9.6+4.8                      |      Blockedby:                     
  
Difficulty:                               |             Os:  Linux              
  
  Blocking:                               |   Architecture:  x86                
  
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 I'm afraid that's expected. You'll get the same results in other languages
 too.

 Depending on what you're doing, you may want to use `Data.Fixed` or
 `Data.Ratio` instead.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5389#comment:2>
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