Message157748
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. |
|
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 | |
|