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, eric.smith, mark.dickinson
Date 2016-04-17.21:31:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460928686.67.0.0333172814743.issue26785@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32:

>>> import struct
>>> x=float("-nan")
>>> struct.pack('<d', x)
'\x00\x00\x00\x00\x00\x00\xf8\x7f'

Looks like the sign bit is off (0) in 2.7.
History
Date User Action Args
2016-04-17 21:31:26ahrvojesetrecipients: + ahrvoje, mark.dickinson, eric.smith
2016-04-17 21:31:26ahrvojesetmessageid: <1460928686.67.0.0333172814743.issue26785@psf.upfronthosting.co.za>
2016-04-17 21:31:26ahrvojelinkissue26785 messages
2016-04-17 21:31:26ahrvojecreate