Sujet : Re: integer divided by zero
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 28. Apr 2025, 12:28:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vunoo1$366ui$2@raubtier-asyl.eternal-september.org>
References : 1 2 3
User-Agent : Mozilla Thunderbird
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.