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 -- https://mail.python.org/mailman/listinfo/python-list