"/a" is not "/a" ?

Christian Heimes lists at cheimes.de
Sat Mar 7 15:14:16 CET 2009

Steven D'Aprano wrote:
> Yes. Floating point NANs are required to compare unequal to all floats,
> including themselves. It's part of the IEEE standard.

As far as I remember that's not correct. It's just the way C has
interpreted the standard and Python inherited the behavior. But you may
proof me wrong on that.

Mark, you are the expert on IEEE 754.


More information about the Python-list mailing list