
14 Nov
2009
14 Nov
'09
4:11 p.m.
On Sat, Nov 14, 2009 at 09:00:42PM +0000, Abby HenrĂquez Tejera wrote:
I understand that error may (and will) happen in floating point, 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?
The inaccuracy of floating point is the issue; it's just that Hugs sometimes prints things with less precision than required by the Haskell Report, and this can hide the errors.