(With hugs as of September 1999)


Prelude> floor 999999999999999999999999999999999999999999999999999999999999.0 
0

floor maps to Integer, so should have no trouble representing an accurate
result.   I fear that this may be a "feature" in that the Hugs implementors couldn't
be bothered to write a floor function which actually worked for large numbers.
If so, returning a completely bogus value is absolutely the worst thing to do.
It would be much better to fail altogether.

Reply via email to