RFC: decodeFloat

Brandon Allbery allbery.b at gmail.com
Fri Aug 26 23:32:59 CEST 2011


On Fri, Aug 26, 2011 at 16:29, Ian Lynagh <igloo at earth.li> wrote:

> A new function could return something like
>    data DecodedFloat = Decoded Integer Int
>                      | NaN
>                      | Infinity
>                      | NegativeInfinity
>                      | NegativeZero
>

Users who need strict IEE754 compatibility passing a NaN through will
require the NaN constructor to return a raw representation of the NaN.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110826/9dc9e242/attachment.html>


More information about the Libraries mailing list