Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Andrey Tarasevich Newsgroups: comp.lang.c Subject: Re: SIGFPE Date: Wed, 23 Oct 2024 00:42:12 -0700 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 23 Oct 2024 09:42:14 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1762c5b560a67419732ee05048c3a089"; logging-data="2055754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kVI94Kh9Xz+Dk4otVqwPR" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:WU+UjI9fzQoRhQ2VRelgQMYXVQA= Content-Language: en-US In-Reply-To: Bytes: 1351 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 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