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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to