Message348727
> 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. |
|
Date |
User |
Action |
Args |
2019-07-30 09:09:02 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, tim.peters, vstinner, stutzbach |
2019-07-30 09:09:02 | mark.dickinson | set | messageid: <1564477742.59.0.556401808605.issue37474@roundup.psfhosted.org> |
2019-07-30 09:09:02 | mark.dickinson | link | issue37474 messages |
2019-07-30 09:09:02 | mark.dickinson | create | |
|