James Edward Gray II wrote:

> On Dec 12, 2006, at 6:45 PM, William James wrote:
> 
>> Inf = 999
> 
> Inf = 1.0 / 0.0
> 
> ?

I've always found this outcome annoying. I often wonder how many programs
silently fail, that hide division by zero errors by way of this assignment.

It has one advantage. Infinity isn't a number, and this assignment clearly
honors that fact:

inf = 1.0 / 0.0 # Infinity

q = inf / inf # NaN

-- 
Paul Lutus
http://www.arachnoid.com