[Haskell-cafe] Why 'round' does not just round numbers ?
Janis Voigtlaender
voigt at tcs.inf.tu-dresden.de
Mon Oct 27 09:43:10 EDT 2008
Lennart Augustsson wrote:
> 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.
Well, I wasn't serious about the "political" explanation.
And yes, the "avoiding bias" explanation makes sense, but not the "this
way of rounding makes repeated rounding safe" explanation.
--
Dr. Janis Voigtlaender
http://wwwtcs.inf.tu-dresden.de/~voigt/
mailto:voigt at tcs.inf.tu-dresden.de
More information about the Haskell-Cafe
mailing list