Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Anthony W. Youngman" <thewolery@nospam.demon.co.uk>
Subject: Re: division by zero exceptions ?
Date: 1998/10/31	[thread overview]
Message-ID: <t7L$feAI$3O2EwGI@thewolery.demon.co.uk> (raw)
In-Reply-To: 71f8bc$clh$3@newnews.nl.uu.net

In article <71f8bc$clh$3@newnews.nl.uu.net>, Toon Moene
<toon@moene.indiv.nluug.nl> writes
>fea@fea.rrd.ornl.gov (James D. Freels) wrote:
>
>> So...  Why don't some of you guys who know how to write compilers fix
>> gcc/g77 for the Alpha so that we can really use Linux instead.  I
>> would love to now, but I can't.
>
>James, I'd love to help you, but I haven't got a Linux Alpha system yet.  
>Because I've access to one, I might be able to get some work done if you can 
>supply me with a (short) example code.
>
>However, I have to take exception to your "When you have a job to do, and it 
>requires running a code that is several hundred thousand lines of source, you 
>don't have time to fix the bad code".  When code throws up a "division by 
>zero" exception, you just can't trust that code, even if it runs on systems 
>that happen to "just let it run".
>
See my other post - if I'm doing math, I WANT it to return the correct
value, ie if I say "x = y / tan( pi / 2)" then I WANT x to be set to
infinity. If I don't have to trap for divide by zero, then my thousand
lines becomes five hundred, and it's a damn sight easier to debug.

Look at it as a mathematician, not an engineer. x divided by 0 IS
infinity, and I wish computers could cope with that fact, and not crash
my program.
-- 
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Trousers with a single hole in their waistband are topologically equivalent
to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
outlets! (SuperStrings by F. David Peat)

If replying by e-mail please mail wol. Anything else may get missed amongst
the spam.




  reply	other threads:[~1998-10-31  5:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  5:00 division by zero exceptions ? Conrad Sanderson
1998-10-26  5:00 ` Michal Jaegermann
1998-10-27  5:00 ` Remco Wouts
1998-10-28  5:00   ` Nils Faerber
1998-10-31  5:00 ` Shana Tackett
1998-10-30  5:00   ` James D. Freels
1998-10-31  5:00     ` Toon Moene
1998-10-31  5:00       ` Anthony W. Youngman [this message]
1998-11-01  5:00         ` Stefan Davids
1998-11-01  5:00         ` Bill Metzenthen
1998-11-01  5:00           ` Anthony W. Youngman
1998-11-02  5:00             ` Stefan Davids
1998-11-02  5:00             ` Bill Metzenthen
1998-11-02  5:00               ` Conrad Sanderson
1998-11-02  5:00         ` Michal Jaegermann
1998-10-31  5:00     ` Greg Lindahl
1998-11-03  5:00     ` rscanon
1998-10-31  5:00   ` Anthony W. Youngman
1998-11-01  5:00     ` Greg Lindahl
1998-10-31  5:00   ` Bill Metzenthen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox