NaN comparisons - Call For Anecdotes
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Jul 8 21:00:08 EDT 2014
On Tue, 08 Jul 2014 13:50:06 -0600, Ian Kelly wrote:
> The math module functions raise exceptions instead of returning NaN.
That's not the only way that NANs can be constructed. In particular, the
OP is collecting NANs from some other device. I don't know how it ends up
with NANs, but it does, so he has to deal with them.
--
Steven
More information about the Python-list
mailing list