Deutsch   English   Français   Italiano  
<vunoo1$366ui$2@raubtier-asyl.eternal-september.org>

View for Bookmarking (what is this?)
Look up another Usenet article

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 <Bonita.Montero@gmail.com>
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: <vunoo1$366ui$2@raubtier-asyl.eternal-september.org>
References: <vughb7$g6cm$1@dont-email.me>
 <vulbmd$t4di$1@raubtier-asyl.eternal-september.org>
 <e111a9d7b8c525366458cdab3f16d996f5ef0db7@i2pn2.org>
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: <e111a9d7b8c525366458cdab3f16d996f5ef0db7@i2pn2.org>
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.