From: Stefan Davids <smd@hopf.demon.co.uk>
Subject: Re: division by zero exceptions ?
Date: 1998/11/01 [thread overview]
Message-ID: <71hgtq$qiv$1@hopf.demon.co.uk> (raw)
In-Reply-To: t7L$feAI$3O2EwGI@thewolery.demon.co.uk
Anthony W. Youngman <thewolery@nospam.demon.co.uk> wrote:
>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.
I'm a mathematician and x/0 certainly is _NOT_ infinity - it isn't defined
and often the appropriate limit is (highly) non unique. The first few
weeks of any analysis course are usually spent hammering this into our
undergraduates.
HTH
Stefan
--
perl -we 'map{eval q(sub ).$_.q( {$_=shift; $_.=").$_.q("; s/S/s/; s/(.)/$1 /g;
@a=split; $a=join q(),@a; $b=$a; $a=~s/([A-Z])/ $1/g; $_ = join q(),reverse @a;
s/([A-Z])/$1 /g; print $a," "x(50-(length $a)*2),"$_\n"; return($b);})}((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()))))))))))))))))))));'
next prev parent reply other threads:[~1998-11-01 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
1998-11-01 5:00 ` Bill Metzenthen
1998-11-01 5:00 ` Anthony W. Youngman
1998-11-02 5:00 ` Bill Metzenthen
1998-11-02 5:00 ` Conrad Sanderson
1998-11-02 5:00 ` Stefan Davids
1998-11-01 5:00 ` Stefan Davids [this message]
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