And anyway, if you want the rounding-up method, it is easy enough to write
as floor(x+1/2).
On Jan 2, 2008 2:00 PM, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
> This method, called *round-to-even, unbiased rounding*, *convergent
> rounding*, or *statistician's rounding* avoids biasing results upwards.
> See the relevant section in the Wikipedia article Rounding<http://en.wikipedia.org/wiki/Rounding#Round-to-even_method>
> .
>
> -s
>
>
> On Jan 2, 2008 1:44 PM, Holger Schulz <qdl at gmx.net> wrote:
>
> >
> > Am 2008-01-02 um 17:48 schrieb Stavros Macrakis:
> >
> > > round: nearest integer, preferring evens to odds for ties
> >
> > Why is that defined this way?
> >
> > Thanks.
> >
> > hs
> >
>
>