[Haskell-cafe] Re: Simple quirk in behavior of `mod`
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
More information about the Haskell-Cafe