Message347226
> What is the behavior on FreeBSD when fedisableexcept(FE_OVERFLOW) is not called?
That's an excellent question, that I'd love to have an answer to for currently supported FreeBSD versions.
I think the old behaviour is that anything that you'd expect to raise an FPE (e.g., `math.sqrt(-1.0)` would segfault the interpreter). It may be that that's no longer an issue with FreeBSD versions that we care about.
That code comment dates from over 16 years ago (see https://github.com/python/cpython/commit/4643bd9a9cf43332992d10982c52debf3f0d980c), so there's some hope that the situation's changed since then. |
|
Date |
User |
Action |
Args |
2019-07-03 12:43:33 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, vstinner, stutzbach |
2019-07-03 12:43:33 | mark.dickinson | set | messageid: <1562157813.66.0.0835688215148.issue37474@roundup.psfhosted.org> |
2019-07-03 12:43:33 | mark.dickinson | link | issue37474 messages |
2019-07-03 12:43:33 | mark.dickinson | create | |
|