Skip to content

decodeFloat (0.0/0.0) = undefined

there are a number of bugs associated with decoding NaN that could be resolved by changing decodeFloat (0.0/0.0) to be undefined.

http://hackage.haskell.org/trac/ghc/ticket/3070 - floor http://hackage.haskell.org/trac/ghc/ticket/3134 - encodeFloat . decodeFloat

Trac metadata
Trac field Value
Version
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information