
19 May
2010
19 May
'10
5:35 a.m.
Dmitry Olshansky wrote:
It seems that I saw something like this in Cafe recevtly. But I am not sure... In GHC 6.12.1 (Platform 2010 on Windows Vista) I have
<snip>
Any comments?
The problem you point out is not a problem with Haskell, but a problem with the whole concept of floating point arithmetic as implemented on all modern CPUs. See: http://docs.sun.com/source/806-3568/ncg_goldberg.html You would have got similar problems with just about any language running on the same hardware. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/