develooper Front page | perl.perl6.language | Postings from October 2002

Re: Indeterminate math

From:
Michael G Schwern
Date:
October 14, 2002 17:15
Subject:
Re: Indeterminate math
Message ID:
20021015001533.GA29682@ool-18b93024.dyn.optonline.net
On Mon, Oct 14, 2002 at 07:48:23PM -0400, Mark J. Reed wrote:
> Actually, 1/0 is not NaN; it's +Infinity.  You only get NaN out of
> dividing by 0 if the numerator is either infinite or also 0.

There are several verbal proofs why 1/0 is not +Infinity here:
http://mathforum.org/dr.math/faq/faq.divideby0.html 


-- 

Michael G. Schwern   <schwern@pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <perl-qa@perl.org>         Kwalitee Is Job One
Plus I remember being impressed with Ada because you could write an
infinite loop without a faked up condition.  The idea being that in Ada
the typical infinite loop would be normally be terminated by detonation.
	-- Larry Wall in <199911192212.OAA23621@kiev.wall.org>



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About