Sujet : Re: SIGFPE
De : andreytarasevich (at) *nospam* hotmail.com (Andrey Tarasevich)
Groupes : comp.lang.cDate : 23. Oct 2024, 08:42:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfa9cl$1unia$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
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
-- Best regards,Andrey