[Python-Dev] Mixing float and Decimal -- thread reboot

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 26 02:15:54 CET 2010


Steven D'Aprano wrote:

> I'd like to turn the question around ... what algorithms are there that 
> rely on NaN == NaN being True?

That seems to be a straw question, since AFAIK nobody
has suggested that there are any such algorithms.

On the other hand, it has been claimed that some
algorithms exist that benefit from Nan == NaN being
false, so it's fair to ask for examples to back
that up.

-- 
Greg


More information about the Python-Dev mailing list