Warp wrote:
> andrel <a_l### [at] hotmail com> wrote:
>> depends on convention. There as thus 4 ways to round halves:
>> up,down,towards zero and away from zero.
>
> Actually there's a fifth convention which is also widely used: Round
> to the closest even number. I believe the idea behind this one is that
> tries to even out systematic bias in lengthy calculations.
>
Not to mention the university teacher that recommended alternate up and
down rounding for even less bias ;) . I have seen libraries of functions
for the four I mentioned but not for this round to even or the
alternating one or the random one you mentioned earlier.
Post a reply to this message
|