[issue9416] complex formatting incorrectly omits a negative zero real part

Alexander Belopolsky report at bugs.python.org
Thu Jul 29 18:56:34 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I wonder if complex addition/subtraction should preserve -0.0 when it is added to a purely imaginary number.  I.e.,

>>> -0.0+1j
(-0+1j)

----------
nosy: +belopolsky

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


More information about the Python-bugs-list mailing list