Enum on Float/Double

Joe English jenglish@flightlab.com
Thu, 24 Oct 2002 19:29:40 -0700


George Russell wrote:
>
> Indeed I think the Haskell Library Report contains
> quite a few examples of floating point code which a numerical analyst would
> have written rather better.

Like the Float and Double implementations enumFrom{Then}To.
Heck, even I can tell that these are Just Plain Wrong --
they're subject to horribly bad roundoff errors --
and I'm not even close to being a numerical analyst.


--Joe English

  jenglish@flightlab.com