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

Matthias Görgens matthias.goergens at googlemail.com
Thu Jul 23 06:59:43 EDT 2009


> Round-to-even means x.5 gets rounded to x if x is even and x+1 if x is
> odd. This is sometimes known as banker's rounding.

OK.  That's slightly unusual indeed.


More information about the Haskell-Cafe mailing list