[Haskell-cafe] ANN: ieee version 0.7

Jason Dagit dagit at codersbase.com
Sun Sep 19 21:55:08 EDT 2010


On Sun, Sep 19, 2010 at 6:49 PM, Patrick Perry <patperry at gmail.com> wrote:
> 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


More information about the Haskell-Cafe mailing list