Message228901
> we should perhaps produce the right sign bit for each
Perhaps. But given that signs of NaNs are pretty much meaningless anyway (the IEEE 754 standard explicitly refuses to attach any meaning to NaN sign bits, and the sign bit of a NaN result is not specified for most operations), and that a change *could* conceivably break existing code, I don't see much of a case for changing the behaviour in 2.7. I'm not particularly *opposed* to such a change; I just don't really see the point.
BTW, I'd expect this report to apply to other platforms in addition to Windows; Intel's "default" NaN has its sign bit set, so a platform that just does the lazy thing and lets the FPU NaN propagate will tend to see an inverted sign bit here.
It's only the 2.7 behaviour you're complaining about, right? Are things working as expected on 3.4 and Windows? |
|
Date |
User |
Action |
Args |
2014-10-09 20:13:33 | mark.dickinson | set | recipients:
+ mark.dickinson, pitrou, tim.golden, zach.ware, steve.dower |
2014-10-09 20:13:33 | mark.dickinson | set | messageid: <1412885613.4.0.342179063713.issue22590@psf.upfronthosting.co.za> |
2014-10-09 20:13:33 | mark.dickinson | link | issue22590 messages |
2014-10-09 20:13:33 | mark.dickinson | create | |
|