From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c696,c887bec98cd793ef X-Google-Attributes: gid10c696,public X-Google-Thread: 111c93,c887bec98cd793ef X-Google-Attributes: gid111c93,public From: Stefan Davids Subject: Re: division by zero exceptions ? Date: 1998/11/01 Message-ID: <71hgtq$qiv$1@hopf.demon.co.uk>#1/1 X-Deja-AN: 407224216 X-NNTP-Posting-Host: hopf.demon.co.uk:193.237.6.156 References: <01be0482$6ebd1e60$45934b0c@default> <71f8bc$clh$3@newnews.nl.uu.net> Mail-Copies-To: never X-PGP5-Di-He-Fingerprint: 3C50 FF6C 24BE 8A29 42F6 BC76 6455 98AF CAE2 B9D7 X-PGP5-DSS-Fingerprint: 97DA 32B4 F938 684A 71F9 AA54 3D94 6C09 A028 9B74 X-Complaints-To: abuse@demon.net X-PGP2-Fingerprint: 12 D9 40 3E 07 5B 8C BE 42 19 1B 67 0E 0A 6B 87 X-Trace: news.demon.co.uk 909920094 nnrp-06:1523 NO-IDENT hopf.demon.co.uk:193.237.6.156 X-PGP2-Key: http://www.maths.nott.ac.uk/personal/smd/smd.asc Organization: hopf.demon.co.uk X-PGP5-Key: http://www.maths.nott.ac.uk/personal/smd/smd5.asc X-URL: http://www.maths.nott.ac.uk/personal/smd NNTP-Posting-Date: 1 Nov 1998 11:33:14 GMT Newsgroups: comp.os.linux.alpha,comp.os.linux.development.apps Anthony W. Youngman 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()))))))))))))))))))));'