[issue1507] complex constructor loses signs of zeros

2009-02-11 Thread Mark Dickinson
Mark Dickinson added the comment: This is out of date for 2.5. Closing. -- status: open -> closed ___ Python tracker ___ ___ Python-b

[issue1507] complex constructor loses signs of zeros

2008-01-28 Thread Christian Heimes
Changes by Christian Heimes: -- priority: -> high versions: -Python 2.6 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list U

[issue1507] complex constructor loses signs of zeros

2007-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 59203. Anthony, is this OK to backport to 2.5.2? -- assignee: -> anthonybaxter nosy: +anthonybaxter, gvanrossum resolution: -> accepted __ Tracker <[EMAIL PROTECTED]>

[issue1507] complex constructor loses signs of zeros

2007-11-27 Thread Mark Dickinson
New submission from Mark Dickinson: In Python2.5 and the current trunk, construction of a complex number from two floats loses the negative sign of a negative zero in the imaginary part. >>> complex(-0., 0.).real # behaves as expected -0.0 >>> complex(0., -0.).imag # loses sign of zero 0.0