[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fix,fixr

If you want to look at the IEEE standards work for guidance
on fix/trunc/round, counsider that  the standard has
round toward {zero, minus inf, plus inf, and unbiased} as modes,
and the unbiased does not leave undefined the rounding from half-way,
but specifies round to nearest even, in that case.  E.g. 1.5 -> 2,
2.5 -> 2.  This provides a systematic avoidance of bias.  (Round
to nearest odd is similar, but not used in standard)