On Thu, 26 Sep 2002, Paul Walmsley wrote:
> FastFPE's implementation of the 'cmf' and 'cnf' opcodes incorrectly treat
> +0 and -0 as inequal numbers, which violates IEEE 754.
It turns out that this bug has already been fixed with patch 1128. (I
miseed it since I
FastFPE's implementation of the 'cmf' and 'cnf' opcodes incorrectly treat
+0 and -0 as inequal numbers, which violates IEEE 754.
The enclosed patch fixes this bug by testing for the
magic exponent that indicates 'zero' before testing the signs of the
comparison operands.
Minimal test cases th
FastFPE's implementation of the lfm opcode ('load floating-point
multiple') marks all floating-point numbers that it loads as normalized.
Unfortunately, zero and infinity are denormalized numbers, and FastFPE's
lfm will therefore corrupt any stored zero or infinity values reloaded
from memory.
Th
3 matches
Mail list logo