-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
cmath.nan docs: Equivalent to float('nan') #137871
Copy link
Copy link
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc direasystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc direasystdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Projects
Status
Todo
Documentation
Hello Friends!
Perhaps
cmath.nandescription can be more likemath.nan?Perhaps some insight to the intended nuances could benefit the description? Compare and contrast?
In the context of NaNs, the meaning of the word "equivalent" is quite nuanced.
Best!
https://docs.python.org/3/library/cmath.html#cmath.nan
https://docs.python.org/3/library/math.html#math.nan
Linked PRs