[Haskell-cafe] Re: Why 'round' does not just round numbers ?

Stefan Monnier monnier at iro.umontreal.ca
Mon Oct 27 11:06:23 EDT 2008

>>> 2.4x -> x
>> That's supposed to be 2.4x -> 2, of course.
> Ah, damn it.  I was hoping for a long discussion on just what math
> would look like with rounding like that ;-)

I think it has a name...  "modulo" maybe?


More information about the Haskell-Cafe mailing list