Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero Newsgroups: comp.lang.c Subject: Re: integer divided by zero Date: Mon, 28 Apr 2025 13:28:44 +0200 Organization: A noiseless patient Spider Lines: 9 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 28 Apr 2025 13:28:01 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="7f99553961dc0fd4d2c3b796d07ae848"; logging-data="3349458"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183oikAhNnOijEQwDRjP7m8CFMQwIIRQ9I=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:KPEMgRmWSGkqPUtsK1voYkMb2h4= Content-Language: de-DE In-Reply-To: Bytes: 1592 Am 28.04.2025 um 13:15 schrieb Richard Damon: > NO, not all processors have a trap for divide by zero on integers, and > many that do allow the disabling of that trap. Windows requires processors that can trap divisions by zero, Unix also since both OSes are able to catch that error; on Windows with SEH, on Unix with signals. But with SEH that's more convenient.