Deutsch English Français Italiano |
<vfa9cl$1unia$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Andrey Tarasevich <andreytarasevich@hotmail.com> 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: <vfa9cl$1unia$1@dont-email.me> References: <Jd11RFbi8Eoq-pn2-vqVzCv1oVeGd@localhost> 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: <Jd11RFbi8Eoq-pn2-vqVzCv1oVeGd@localhost> 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 <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