negation of float on H8300
Sanjiv Kumar Gupta, Noida
sanjivg@noida.hcltech.com
Fri Aug 9 02:11:00 GMT 2002
>Not if it's a signalling NaN. If the chip only supports QNaNs, then
>you might be able to get away with it.
>Flipping the sign bit is correct even for a signalling NaN. See item 2 in
>the Appendix of IEEE Std 754-1985 (Binary Floating-Point Arithmetic).
>See also item 2 in the Appendix of IEEE Std 854-1987 (Radix-Independent
>Floating-Point Arithmetic).
>Jim
I'll try to write out a patch for this soon.
Regards
Sanjiv
More information about the Gcc
mailing list