Message365746
How about this?
"The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are
special. Not-a-number values always compare unordered and unequal to any other value, including themselves. For example, if ``x = float('NaN')``, then ``x == x``, ``3 < x``, and ``x < 3`` are all false, but ``x != x`` is true. This behavior is compliant with the IEEE 754 standard."
Due to technology problems at my end, I cannot submit a PR for this, but this should be an easy issue. If somebody wants to use the text above as a start, please feel free to do so. |
|
Date |
User |
Action |
Args |
2020-04-04 04:36:27 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, mark.dickinson, stutzbach, docs@python, ArnuldOnData |
2020-04-04 04:36:27 | steven.daprano | set | messageid: <1585974987.8.0.883292583404.issue40177@roundup.psfhosted.org> |
2020-04-04 04:36:27 | steven.daprano | link | issue40177 messages |
2020-04-04 04:36:27 | steven.daprano | create | |
|