On Thu, 5 Aug 2010, David Virebayre wrote:

On Thu, Aug 5, 2010 at 11:35 AM, Henning Thielemann
<lemm...@henning-thielemann.de> wrote:

What else shall a rounding function return if not integers?

Getting from 29.84645 to 29.85 isn't rounding ?

Sure, it is, I missed that. Maybe such rounding functions are not provided in Prelude because, say, rounding to a certain number of decimal places cannot be computed exactly with binary floating point numbers.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to