[issue37474] Should Py_Initialize() control the floating point mode?
STINNER Victor
report at bugs.python.org
Mon Jul 29 19:34:12 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
fp_except.c: C program to test for float point exceptions:
* FE_OVERFLOW
* FE_UNDERFLOW
* FE_INVALID
I prefer to avoid testing FE_INEXACT which a test might be too specific to an implementation of the libm.
I also chose to avoid testing FE_DIVBYZERO, since the default behavior is to kill the process with SIGFPE.
----------
Added file: https://bugs.python.org/file48511/fp_except.c
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37474>
_______________________________________
More information about the Python-bugs-list
mailing list