Author mark.dickinson
Recipients christian.heimes, mark.dickinson, rpetrov, skip.montanaro
Date 2009-01-04.22:27:00
SpamBayes Score 0.186152
Marked as misclassified No
Message-id <1231108021.68.0.0341622878581.issue4575@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-01-04 22:27:01mark.dickinsonsetrecipients: + mark.dickinson, skip.montanaro, christian.heimes, rpetrov
2009-01-04 22:27:01mark.dickinsonsetmessageid: <1231108021.68.0.0341622878581.issue4575@psf.upfronthosting.co.za>
2009-01-04 22:27:00mark.dickinsonlinkissue4575 messages
2009-01-04 22:27:00mark.dickinsoncreate