[Haskell-cafe] Re: Simple quirk in behavior of `mod`

Matthias Görgens matthias.goergens at googlemail.com
Thu Jul 23 01:37:56 EDT 2009

> Couldn't the same be said for round-to-even, instead of rounding down
> like every other language? I doubt any beginners have ever expected
> it, but it's probably better.

What do you mean with round-to-even?  For rounding down there's floor.

More information about the Haskell-Cafe mailing list