diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2023-02-19 19:15:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 19:15:44 (GMT) |
commit | b513c46d998344dc07eb6d510782c2e23d2b859e (patch) | |
tree | a8b59cf7b0413166a92fa52bd5f182a940e30091 /Misc/NEWS.d/next/Documentation | |
parent | 32df540635cacce1053ee0ef98ee23f3f6a43c02 (diff) | |
download | cpython-b513c46d998344dc07eb6d510782c2e23d2b859e.zip cpython-b513c46d998344dc07eb6d510782c2e23d2b859e.tar.gz cpython-b513c46d998344dc07eb6d510782c2e23d2b859e.tar.bz2 |
gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)
This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros.
* Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts
* Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
Diffstat (limited to 'Misc/NEWS.d/next/Documentation')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2023-02-19-10-33-01.gh-issue-85417.kYO8u3.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2023-02-19-10-33-01.gh-issue-85417.kYO8u3.rst b/Misc/NEWS.d/next/Documentation/2023-02-19-10-33-01.gh-issue-85417.kYO8u3.rst new file mode 100644 index 0000000..a5532df --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2023-02-19-10-33-01.gh-issue-85417.kYO8u3.rst @@ -0,0 +1 @@ +Update :mod:`cmath` documentation to clarify behaviour on branch cuts. |