#3134: encodeFloat . decodeFloat
---------------------------------+------------------------------------------
    Reporter:  roland            |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  _|_         
   Component:  Prelude           |      Version:  6.10.1      
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by daniel.is.fischer):

 For the particular values which decodeFloat returns for !NaNs (Float and
 Double), it would be easy to add a test to integer_cbits_encodeType, that
 would probably even be not too expensive.

 However, those functions look a little dubious. Remind me to look at them
 again some time, maybe there's speed and correctness to be gained.

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