3 ms·
"for instance, the C standard defines and requires the SIGFPE signal to represent floating point computational exceptions.". The C standard does not define and
by wolfgke 9y ago
"for instance, the C standard defines and requires the SIGFPE signal to represent floating point computational exceptions.".
The C standard does not define and/or require this. What you link and refer to is the POSIX standard.
- keithwinstein 9y agoNot quite -- the C standard does define SIGFPE, and sort of requires it. C99 says "C does require that SIGFPE be the signal corresponding to arithmetic exceptions, if there is any signal raised for them." See clause 7.14 ("Signal handling") and H.3.1.2 ("Traps").