Anyone know of any implementations that use SIGFPE?
If so, how is it used?
On 10/22/24 10:10 PM, Fred J. Tydeman wrote:
Anyone know of any implementations that use SIGFPE?
If so, how is it used?
On 10/22/24 10:10 PM, Fred J. Tydeman wrote:
Anyone know of any implementations that use SIGFPE?
If so, how is it used?
#include <limits.h>
int main(void)
{
int a = INT_MIN, b = -1;
return a / b;
}
https://godbolt.org/z/GnYsnTWWd
Program terminated with signal: SIGFPE
Anyone know of any implementations where the standard library functions use SIGFPE?...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 148:26:30 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,745 |