[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fix,fixr
- To: LISP-FORUM at MIT-MC, MOON at MIT-MC, GLS at MIT-MC
- Subject: Re: fix,fixr
- From: Richard J. Fateman <RJF at MIT-MC>
- Date: Thu ,12 Mar 81 12:31:00 EDT
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)