Ketil Malde wrote:
Of course, Haskell should discard the rather tasteless IEEE754 crud,
and do its calculations on infinite streams of digits.  Then, rounding
upwards after 'take'ing a sufficient amount of decimals will be the
right thing to do.

Except arbitrary-precision real arithmetic is not as trivial as you make it sound, and using an infinite stream of digits is not sufficient by itself.

See also: http://www.haskell.org/haskellwiki/Exact_real_arithmetic

Martijn.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to