This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients MrJean1, mark.dickinson
Date 2008-06-25.09:05:52
SpamBayes Score 0.012620807
Marked as misclassified No
Message-id <1214384754.77.0.24413070303.issue3167@psf.upfronthosting.co.za>
In-reply-to
Content
Nice reply from zal.  His conclusion:

> The short answer to your question is to use the cc -xlibmieee
> option (and not rely on errno in the case of log(-Inf)) if you
> would like to see results in the spirit of IEEE 754.

It sounds like using the -xlibmieee flag is the way to go.  (math_1 is 
already doing an excellent job of not relying on errno).

Could you try compiling with this flag to see whether it fixes the 
problem?  (Opening up the 'configure' file and adding the flag to 
BASECFLAGS might be the easiest way to do this; there may be easier 
ways.) If it does, I'll cook up a configure patch.
History
Date User Action Args
2008-06-25 09:05:55mark.dickinsonsetspambayes_score: 0.0126208 -> 0.012620807
recipients: + mark.dickinson, MrJean1
2008-06-25 09:05:54mark.dickinsonsetspambayes_score: 0.0126208 -> 0.0126208
messageid: <1214384754.77.0.24413070303.issue3167@psf.upfronthosting.co.za>
2008-06-25 09:05:52mark.dickinsonlinkissue3167 messages
2008-06-25 09:05:52mark.dickinsoncreate