
22 Jun
2008
22 Jun
'08
4:32 p.m.
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.