Message157748
| 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:25 | loewis | set | recipients:
+ loewis, mattip |
| 2012年04月07日 19:06:25 | loewis | set | messageid: <1333825585.21.0.453642658955.issue14521@psf.upfronthosting.co.za> |
| 2012年04月07日 19:06:24 | loewis | link | issue14521 messages |
| 2012年04月07日 19:06:24 | loewis | create |
|