homepage

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 loewis
Recipients loewis, mattip
Date 2012年04月07日.19:06:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333825585.21.0.453642658955.issue14521@psf.upfronthosting.co.za>
In-reply-to
Content
This is a near duplicate of issue7281. Most likely, copysign is behaving correctly, and it's already the float conversion that errs.
For struct.pack('d', float('nan')), I get '\x00\x00\x00\x00\x00\x00\xf8\xff'; 
for -nan, I get '\x00\x00\x00\x00\x00\x00\xf8\x7f'; 
ISTM that this has the sign bits switched.
History
Date User Action Args
2012年04月07日 19:06:25loewissetrecipients: + loewis, mattip
2012年04月07日 19:06:25loewissetmessageid: <1333825585.21.0.453642658955.issue14521@psf.upfronthosting.co.za>
2012年04月07日 19:06:24loewislinkissue14521 messages
2012年04月07日 19:06:24loewiscreate

AltStyle によって変換されたページ (->オリジナル) /