[GHC] #5856: numrun012 test fails on i686 works on x86_64

GHC cvs-ghc at haskell.org
Wed Jun 20 16:49:39 CEST 2012


#5856: numrun012 test fails on i686 works on x86_64
---------------------------------------------+------------------------------
    Reporter:  td123                         |       Owner:              
        Type:  bug                           |      Status:  infoneeded  
    Priority:  normal                        |   Milestone:  7.6.1       
   Component:  Test Suite                    |     Version:  7.4.1       
    Keywords:  numrun012 unexpected failure  |          Os:  Linux       
Architecture:  x86                           |     Failure:  None/Unknown
  Difficulty:  Unknown                       |    Testcase:  numrun012   
   Blockedby:                                |    Blocking:              
     Related:                                |  
---------------------------------------------+------------------------------

Comment(by pcapriotti):

 Yes, I understand why the result isn't exactly `31.0` (and the test is
 actually expecting something > 31), but I don't understand why I get
 `31.000000000000004` and the reporter gets `31.0`.

 As I understand, the expected result with IEEE doubles is
 `31.000000000000004` here.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5856#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list