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 mattip
Recipients loewis, mattip
Date 2012-04-08.00:21:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333844518.25.0.849103063666.issue14521@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry for the garbage c code, the comment however is correct: Py_NAN is created with the sign bit set (on windows), and then _copysign on windows uses the sign bit to determine the output, which results in the wrong answer.
History
Date User Action Args
2012-04-08 00:21:58mattipsetrecipients: + mattip, loewis
2012-04-08 00:21:58mattipsetmessageid: <1333844518.25.0.849103063666.issue14521@psf.upfronthosting.co.za>
2012-04-08 00:21:57mattiplinkissue14521 messages
2012-04-08 00:21:57mattipcreate