Title: Complex does not maintain negative for -0.0
Type: Severity: normal
Components: Versions: Jython 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: fwierzbicki Nosy List: fwierzbicki, pjenvey, zyasoft
Priority: normal Keywords:

Created on 2012-03-16.19:20:49 by fwierzbicki, last changed 2014-06-19.06:38:41 by zyasoft.

msg6804 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-03-16.19:20:49
On Ubuntu Linux
[frank jython]$ ./dist/bin/jython
Jython 2.7a0+ (default:f24c04861f32+, Mar 16 2012, 12:06:43) 
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_23
Type "help", "copyright", "credits" or "license" for more information.
>>> complex(-0.0, -0.0)
msg6807 (view) Author: Philip Jenvey (pjenvey) Date: 2012-03-17.00:12:11
Maintaining the sign actually changed in 2.6
msg6808 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2012-03-17.18:52:45
Thanks for the clarification pjenvey - I set the "Version" flag to 2.7a1 accordingly.
msg8731 (view) Author: Jim Baker (zyasoft) Date: 2014-06-19.06:38:41
Still an issue, if slightly different:

$ python
Python 2.7.5 (default, Mar  9 2014, 22:15:05)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> complex(-0.0, -0.0)

$ jython27
Jython 2.7b3+ (default:7516d3820146+, Jun 18 2014, 22:11:17)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_21
Type "help", "copyright", "credits" or "license" for more information.
>>> complex(-0.0, -0.0)
Date User Action Args
2014-06-19 06:38:41zyasoftsetnosy: + zyasoft
messages: + msg8731
2013-02-20 00:39:39fwierzbickisetpriority: normal
assignee: fwierzbicki
versions: + Jython 2.7, - 2.7a1
2012-03-17 18:52:45fwierzbickisetmessages: + msg6808
versions: + 2.7a1
2012-03-17 00:12:11pjenveysetnosy: + pjenvey
messages: + msg6807
2012-03-16 19:20:50fwierzbickicreate