NaN comparisons - Call For Anecdotes

Anders J. Munch 2014 at jmunch.dk
Tue Jul 8 21:25:44 CEST 2014


I wrote:
> Steven D'Aprano wrote:
>> Oh, you've read the IEEE-754 standard, and that's what it says? "We're going 
>> to specify this behaviour for NANs just to annoy people" perhaps? 
> I was referring to the deliberate choice to enforce IEEE-754 rules in Python. 
> There is no force of law that requires Python to do so.
>

And just to be clear, I didn't mean python-dev did this to annoy people either. 
I just meant that the choice made is not supported by any use case, so there's 
no upside to outweigh the problems it creates.

At least I've yet to hear any use case. So far I'm 0 beers in debt.

regards, Anders



More information about the Python-list mailing list