[issue22548] Bogus parsing of negative zeros in complex literals

Mark Dickinson report at bugs.python.org
Fri Oct 3 19:45:47 CEST 2014


Mark Dickinson added the comment:

Nope, no float issue here. :-)  Which part of the output do you think is wrong?

Your last (z - z) is doing ((-0.0) - (-0.0)), not (-0.0 - 0.0).  This is all following the IEEE 754 rules.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22548>
_______________________________________


More information about the Python-bugs-list mailing list