[Haskell-cafe] Pure Haskell implementation of Float type?

Henning Thielemann schlepptop at henning-thielemann.de
Thu Jan 22 12:09:26 EST 2009


Lennart Augustsson schrieb:
> There's the numbers package which contains BigFloat.  You can pick
> your own precision, but it's not IEEE.
> It's actually base 10 floats which makes it more fun (actually, the
> iEEE standard will cover base 10 floats in the future).

Actually, all of the arbitrary precision real number implementations may
be of interest for you:

http://haskell.org/haskellwiki/Applications_and_libraries/Mathematics#Number_representations

The NumericPrelude implementation by me, however, sometimes uses the
Double implementation for speedup.


More information about the Haskell-Cafe mailing list