Signed zeros: is this a bug?
Paul Rubin
http
Sun Mar 11 17:28:15 EDT 2007
Dennis Lee Bieber <wlfraed at ix.netcom.com> writes:
> Pardon? What is "the right thing with signed zeros"... In the last
> 30 years I've been on machines that normalize floating zero into a true
> zero (all bits are zero: mantissa, exponent, and sign). This is the
> first time I've even seen a variable output as a negative 0.0!
Most machines these days use IEEE 754 which supports negative zero.
http://en.wikipedia.org/wiki/Negative_zero
More information about the Python-list
mailing list