New submission from Pablo Dumas <[email protected]>:
float('nan')==math.nan does NOT evaluate to True (as suggested by
documentation).
On the other hand, float('inf')==math.inf DOES evaluate to True (as
suggested by documentation).
Documentation we're referring to: https://docs.python.org/3.8/library/math.html
----------
assignee: docs@python
components: Documentation
messages: 415213
nosy: docs@python, w0rthle$$
priority: normal
severity: normal
status: open
title: float('nan')==math.nan does NOT evaluate to True (as suggested by
documentation).
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue47020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com