encodeFloat . decodeFloat
(0.0/0.0)
NaN
(uncurry encodeFloat . decodeFloat) (0.0/0.0)
-Infinity
It seems reasonable to expect NaN here.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Prelude |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |