Sujet : Re: The joy of FORTRAN
De : spamtrap42 (at) *nospam* jacob21819.net (Robert Riches)
Groupes : comp.os.linux.miscDate : 09. Mar 2025, 04:49:54
Autres entêtes
Organisation : none-at-all
Message-ID : <slrnvsq3v1.a6c.spamtrap42@one.localnet>
References : 1 2 3 4 5 6 7 8 9
User-Agent : slrn/1.0.3 (Linux)
On 2025-03-09, c186282 <
c186282@nnada.net> wrote:
...
>
Div0 has been a problem since forever. Fixes,
if existing, have been kinda non-standard.
Trying to GUESS if you are about to Div0 in
the app tends to use up lots of code. Even
now, not all processors have handy Div0
exception handling ... I think even ARMs don't,
or at least don't enable it by default. This
is just *terrible* for 2025 ... I'd really
not rather have my brain-surgery robot suddenly
freeze up because of a stupid Div0 .
... or a military ship:
https://medium.com/@bishr_tabbaa/when-smart-ships-divide-by-zer0-uss-yorktown-4e53837f75b2https://en.wikipedia.org/wiki/USS_Yorktown_(CG-48)
A friend of mine has a favorite question:
What could possibly go wrong?
Maybe that question should be asked more often.
-- Robert Richesspamtrap42@jacob21819.net(Yes, that is one of my email addresses.)