This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ahrvoje
Recipients ahrvoje, mark.dickinson
Date 2016-04-16.19:45:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460835906.79.0.186650929685.issue26785@psf.upfronthosting.co.za>
In-reply-to
Content
Reported issue was created in 64-bit Python 3.5.1 (v3.5.1:37a07cee5969, Dec  6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32.

Now I noticed that in Py 2.7 even copysign part does not work as expected.

Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32:

>>> from math import copysign
>>> x = float("-nan")
>>> copysign(1.0, x)
1.0

Not correct.
History
Date User Action Args
2016-04-16 19:45:06ahrvojesetrecipients: + ahrvoje, mark.dickinson
2016-04-16 19:45:06ahrvojesetmessageid: <1460835906.79.0.186650929685.issue26785@psf.upfronthosting.co.za>
2016-04-16 19:45:06ahrvojelinkissue26785 messages
2016-04-16 19:45:06ahrvojecreate