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

Lennart Augustsson lennart at augustsson.net
Tue Aug 4 03:38:53 EDT 2009


That how I was taught to round in school, so it doesn't seem at all
unusual to me.

2009/7/23 Matthias Görgens <matthias.goergens at googlemail.com>:
>> 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.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list