
19 Sep
2010
19 Sep
'10
9:55 p.m.
On Sun, Sep 19, 2010 at 6:49 PM, Patrick Perry
ieee is a Haskell library for dealing with IEEE floating numbers. It was originally written to make testing with floating point values less painful. The library provides an "approximate equality" type class, AEq, with approximate equality operator "~==". One property of "~==" is that nearby floating point numbers are deemed equivalent, so that, for example, "1 ~== 1.00000001" evaluates to True.
Given that IEEE is actually a standards body and they have many standards, wouldn't it be more appropriate to call this library ieee754? Note: The library itself seems cool, thanks for publishing it regardless of name! Jason