From: Stefan Davids <smd@hopf.demon.co.uk>
Subject: Re: division by zero exceptions ?
Date: 1998/11/02 [thread overview]
Message-ID: <71l74g$108$1@hopf.demon.co.uk> (raw)
In-Reply-To: yFwYgQAgjJP2Ewvx@thewolery.demon.co.uk
Anthony W. Youngman <thewolery@nospam.demon.co.uk> wrote:
>In article <slrn73ofkl.hmt.billm@lorentz.melbpc.org.au>, Bill Metzenthen
><billm@melbpc.org.au> writes
>>For most computations 1/0 represents a severe error
>but I would beg to differ. For trig and algebra, 1/0 is a linear
>infinity, and (like with eg superstrings) you don't give a damn about
>infinity provided at the end they all cancel out and give you your
>answer. Which for trig and algebra you know they will.
If you're planning to handle divergencies properly I suggest you need to be
_very_ clear about what sort of divergencies you're dealing with and do the
necessary analysis before programming it. I'm unaware of a C library that
allows this sort of analysis of limits.
I have no idea what you mean when you say 1/0 is a 'linear infinity'. 1/0 is
undefined - full stop. You are entitled to talk about the
_limit_ of 1/x or 1/x^2 as x tends to 0. You may be able to get a finite
answer from some combination of functions that are divergent at some point.
Generally an infinity arising in a mathematical model is a sign of
deficiency in the model.
>I agree that when you start dividing different degrees of infinity by
>each other things start getting complicated ... It's just a case of
>knowing your infinities (yes there are an INFINITE NUMBER of them, I
>believe :-)
I suggest you read a book on analysis.
regards
Stefan
--
perl -we 'map {eval q( sub ).$_.q( {$a = (shift).").$_.q("; $_ = $a; s/S/s/;
s/(A|P|H)/ $1/g;print;s/(.)/$1 /g;$_=join q(),reverse split;s/(A|P|H)/$1 /g;
print " "x(80-(length)*2), "$_\n"; return($a); } ) } ((A..Z), (q(a)..q(z)));
r(e(k(c(a(H (l(r(e(P( r(e(h(t(o(n(A( t(S(u(J( q() )))) ))))))) ))))) )))));'
next prev parent reply other threads:[~1998-11-02 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 ` Greg Lindahl
1998-10-31 5:00 ` Toon Moene
1998-10-31 5:00 ` Anthony W. Youngman
1998-11-01 5:00 ` Bill Metzenthen
1998-11-01 5:00 ` Anthony W. Youngman
1998-11-02 5:00 ` Stefan Davids [this message]
1998-11-02 5:00 ` Bill Metzenthen
1998-11-02 5:00 ` Conrad Sanderson
1998-11-01 5:00 ` Stefan Davids
1998-11-02 5:00 ` Michal Jaegermann
1998-11-03 5:00 ` rscanon
1998-10-31 5:00 ` Bill Metzenthen
1998-10-31 5:00 ` Anthony W. Youngman
1998-11-01 5:00 ` Greg Lindahl
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