Author steven.daprano
Recipients ArnuldOnData, docs@python, mark.dickinson, rhettinger, steven.daprano, stutzbach
Date 2020-04-04.04:36:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585974987.8.0.883292583404.issue40177@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-04 04:36:27steven.dapranosetrecipients: + steven.daprano, rhettinger, mark.dickinson, stutzbach, docs@python, ArnuldOnData
2020-04-04 04:36:27steven.dapranosetmessageid: <1585974987.8.0.883292583404.issue40177@roundup.psfhosted.org>
2020-04-04 04:36:27steven.dapranolinkissue40177 messages
2020-04-04 04:36:27steven.dapranocreate