Message415533
How does this sound instead? The unequalness is pushed to the front and the IEEE part back so it's less likely missed:
Math.nan and float('nan') are never equal to any other value, including themselves, as per IEEE 754. Use math.isnan to test for NANs. |
|
Date |
User |
Action |
Args |
2022-03-19 03:26:02 | slateny | set | recipients:
+ slateny, steven.daprano, docs@python |
2022-03-19 03:26:02 | slateny | set | messageid: <1647660362.94.0.657952940802.issue47031@roundup.psfhosted.org> |
2022-03-19 03:26:02 | slateny | link | issue47031 messages |
2022-03-19 03:26:02 | slateny | create | |
|