Sujet : Re: integer divided by zero
De : rjh (at) *nospam* cpax.org.uk (Richard Heathfield)
Groupes : comp.lang.cDate : 28. Apr 2025, 12:01:54
Autres entêtes
Organisation : Fix this later
Message-ID : <vunn72$31r0c$2@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
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 HeathfieldEmail: rjh at cpax dot org dot uk"Usenet is a strange place" - dmr 29 July 1999Sig line 4 vacant - apply within