[GHC] #4867: ghci displays negative floats incorrectly (was: Incorrect result from trig functions)

GHC cvs-ghc at haskell.org
Sat Feb 12 00:46:57 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 altaic):

 I'm attaching a patch that cleans up float showing so there's no
 possibility of displaying duplicate negatives. It fixes the main issue of
 this ticket, but it does not address the underlying issue of the failed
 negation.

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



More information about the Glasgow-haskell-bugs mailing list