#3134: encodeFloat . decodeFloat
-----------------------------+----------------------------------------------
Reporter:  roland            |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Prelude         
 Version:  6.10.1            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 > (0.0/0.0)
 NaN

 > (uncurry encodeFloat . decodeFloat) (0.0/0.0)
 -Infinity

 It seems reasonable to expect NaN here.

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