Deutsch   English   Français   Italiano  
<vunn72$31r0c$2@dont-email.me>

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!.POSTED!not-for-mail
From: Richard Heathfield <rjh@cpax.org.uk>
Newsgroups: comp.lang.c
Subject: Re: integer divided by zero
Date: Mon, 28 Apr 2025 12:01:54 +0100
Organization: Fix this later
Lines: 28
Message-ID: <vunn72$31r0c$2@dont-email.me>
References: <vughb7$g6cm$1@dont-email.me>
 <vulbmd$t4di$1@raubtier-asyl.eternal-september.org>
 <vunc7b$2fjjl$6@dont-email.me>
 <vunmf7$3466r$1@raubtier-asyl.eternal-september.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:01:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="98cb7dde7a1aa6fc4fefc67ec63d73d3";
	logging-data="3206156"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/Cnu0CLOtz30fpTydPufUzDGiFsaZQlxLYEXiw1DQ1iA=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LQl3xN8OKDnqma73l5y7GXVJ6r8=
In-Reply-To: <vunmf7$3466r$1@raubtier-asyl.eternal-september.org>
Content-Language: en-GB
Bytes: 2210

On 28/04/2025 11:49, Bonita Montero wrote:
> Am 28.04.2025 um 09:54 schrieb Richard Heathfield:
> 
>> Tell it to the marines, because the sailors won't believe you.
>> <https://web.archive.org/web/20221230163646/https:// 
>> www.wired.com/1998/07/sunk-by-windows-nt/>
> 
> Then they didn't catch the divide by zero.

You wrote: "The platform with the most comfortable handling of 
division by zeroes is Windows."

The report tells us: "The data contained a zero where it 
shouldn't have, and when the software attempted to divide by 
zero, a buffer overrun occurred -- crashing the entire network 
and causing the ship to lose control of its propulsion system."

A platform that crashes the network is not "handling" division by 
zero; it's /mis/handling division by zero. Unix would have 
core-dumped the program and left everything else up and running, 
including the Yorktown.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within