Author mark.dickinson
Recipients lemburg, mark.dickinson, stutzbach, tim.peters, vstinner
Date 2019-07-30.09:09:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564477742.59.0.556401808605.issue37474@roundup.psfhosted.org>
In-reply-to
Content
> Mark: Do you think that it's worth it to convert attached fp_except.c into
> tests run by test_float, to check floating point exceptions in Python?

Sure, it wouldn't harm. I'd expect that all these cases are already being tested indirectly by some part of test_math, but direct tests are better.

Note that Python still can't/won't assume IEEE 754 floating-point, so if the tests use special values like infinities and nans, or other IEEE 754 assumptions, then they should be guarded by a suitable "skipIf" decorator.
History
Date User Action Args
2019-07-30 09:09:02mark.dickinsonsetrecipients: + mark.dickinson, lemburg, tim.peters, vstinner, stutzbach
2019-07-30 09:09:02mark.dickinsonsetmessageid: <1564477742.59.0.556401808605.issue37474@roundup.psfhosted.org>
2019-07-30 09:09:02mark.dickinsonlinkissue37474 messages
2019-07-30 09:09:02mark.dickinsoncreate