G'day
In OBD, n/0 yields either "INFINITY" for non-zero values of n, or
"NAN" where n=0.

CF's approach is the more familiar " Division by zero. Division by
zero is not allowed. " exception.

I guess OBD's approach is valid according to some trains of thought
(ones I don't happen to agree with, but hey: no one's chasing me down
to give me a Fields Medal, so my opinion ain't important ;-), but
wouldn't it be better to replicate what CF does here?

No biggie... I was just trying to force an exception for a test I was
writing, but I can do it another way.

--
Adam

(grumble... apparently I'm too old to be considered for a Fields medal
anyhow.  Ageist bastards ;-)

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 online manual: http://www.openbluedragon.org/manual/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to