Message79088
Looking at this again, I don't like my solution.
I think it would be better to fix Py_IS_INFINITY directly, putting all the
complication into one place; then users of Py_IS_INFINITY don't have to
spend time worrying about whether they should be calling Py_FORCE_DOUBLE
or not.
The fixed Py_IS_INFINITY will likely be slower, but this only matters on
platforms that don't provide isinf, isnan; it seems that Solaris is the
only such platform in common use. |
|
Date |
User |
Action |
Args |
2009-01-04 22:27:01 | mark.dickinson | set | recipients:
+ mark.dickinson, skip.montanaro, christian.heimes, rpetrov |
2009-01-04 22:27:01 | mark.dickinson | set | messageid: <1231108021.68.0.0341622878581.issue4575@psf.upfronthosting.co.za> |
2009-01-04 22:27:00 | mark.dickinson | link | issue4575 messages |
2009-01-04 22:27:00 | mark.dickinson | create | |
|