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. regards, Anders