math.nroot [was Re: A brief question.]

Tom Anderson twic at urchin.earth.li
Tue Jul 5 16:49:33 EDT 2005


On Tue, 5 Jul 2005, Terry Hancock wrote:

> Really, the only *right* thing to do is to raise an exception ASAP after 
> the NaN comes up.

That sounds like a very good idea.

Are there any uses for NaN that aren't met by exceptions?

tom

-- 
[Philosophy] is kind of like being driven behind the sofa by Dr Who - scary, but still entertaining. -- Itchyfidget



More information about the Python-list mailing list