[Haskell-cafe] ieee 754
Henning Thielemann
lemming at henning-thielemann.de
Sun Jun 22 16:32:21 EDT 2008
On Sun, 22 Jun 2008, Lennart Augustsson wrote:
> Haskell does not allow you to change rounding mode, NaN signallng mode, etc.
> But otherwise Haskell on modern platforms conforms to IEEE 754.
It just uses the machine floating point implementation, which is most
oftenly IEEE. However the good news are - if someone manually writes
functions for IEEE number representation, they could be used exactly the
same way as Float and Double, and chances are good that with some
optimizer RULES the operations can be replaced by efficient FPU operations
on IEEE compliant FPUs.
More information about the Haskell-Cafe
mailing list