NaN comparisons - Call For Anecdotes

Anders J. Munch 2014 at jmunch.dk
Tue Jul 8 15:04:15 EDT 2014


Ethan Furman skrev:
> What exception? Apparently your claims about NaN in Python are all wrong -- 
> have you been using a custom interpreter?
> >>> float('inf') - float('inf')
> nan
If you deliberately try to manufacture NaN's, you can. I never said otherwise.

regards, Anders




More information about the Python-list mailing list