
14 Nov
2009
14 Nov
'09
4:21 p.m.
Abby HenrĂquez Tejera wrote:
I understand that error may (and will) happen in floating point,
Yes, explained here: http://docs.sun.com/source/806-3568/ncg_goldberg.html
but it surprises me that they do so easily, and, above all, the difference between GHC and Hugs. Does someone know why does this difference occur?
It looks like the two implementations just print floating point numbers with differing amounts of precision (or rather number of digits). Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/