Message74245
Please use copysign(1.0, fval) == 1.0 instead of your memcpy trick. It's
the cannonical way to check for negative zero. copysign() is always
available because we have our own implementation if the platform doesn't
provide one. We might also want to special case 1.0 and -1.0.
I've to check with Guido and Barry if we can get the optimization into
2.6.1 and 3.0.1. It may have to wait until 2.7 and 3.0. |
|
Date |
User |
Action |
Args |
2008-10-03 12:19:46 | christian.heimes | set | recipients:
+ christian.heimes, georg.brandl, vstinner, ldeller |
2008-10-03 12:19:46 | christian.heimes | set | messageid: <1223036386.49.0.664500762873.issue4024@psf.upfronthosting.co.za> |
2008-10-03 12:19:45 | christian.heimes | link | issue4024 messages |
2008-10-03 12:19:44 | christian.heimes | create | |
|