On Fri, Aug 26, 2011 at 16:29, Ian Lynagh <igloo@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@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms