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 benjamin.peterson, mark.dickinson
Date 2008-06-17.16:58:38
SpamBayes Score 0.004674594
Marked as misclassified No
Message-id <1213721921.83.0.300164713225.issue3118@psf.upfronthosting.co.za>
In-reply-to
Content
I suspect that what's happening is that errno is being set to ERANGE
on a subnormal results;  this is somewhat ... um ... unorthodox.

In that case, the fix would be to raise OverflowError when errno is set to 
ERANGE and the function result x is larger than 1, say, in absolute value.  
(Currently the code ignores errno=ERANGE only when x == 0.)

Could someone with access to ia64 hardware test the attached patch?
History
Date User Action Args
2008-06-17 16:58:42mark.dickinsonsetspambayes_score: 0.00467459 -> 0.004674594
recipients: + mark.dickinson, benjamin.peterson
2008-06-17 16:58:41mark.dickinsonsetspambayes_score: 0.00467459 -> 0.00467459
messageid: <1213721921.83.0.300164713225.issue3118@psf.upfronthosting.co.za>
2008-06-17 16:58:40mark.dickinsonlinkissue3118 messages
2008-06-17 16:58:40mark.dickinsoncreate