STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37474>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to