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

Lennart Augustsson lennart at augustsson.net
Mon Oct 27 09:37:48 EDT 2008


I can't remember the method being called anything.
It was just what we were being taught.  With the obvious explanation
that .5 is right in the middle so always going one way would introduce
a bias.  This was circa 1969.


On Mon, Oct 27, 2008 at 3:30 PM, Janis Voigtlaender
<voigt at tcs.inf.tu-dresden.de> wrote:
> Lennart Augustsson wrote:
>>
>> It is certainly what I learnt in school.  But that was another school.
>
> Hmm, on reflection, taking Neil's explanation into account and the fact
> that this rounding mode was referred to as "banker's rounding", the
> point may be that it was not only another school, but another world
> (politically, pre-'89 ;-).
>
> --
> Dr. Janis Voigtlaender
> http://wwwtcs.inf.tu-dresden.de/~voigt/
> mailto:voigt at tcs.inf.tu-dresden.de
>
> _______________________________________________
> 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