8000 gh-85417: Clarify behaviour on branch cuts in cmath module by mdickinson · Pull Request #102046 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-85417: Clarify behaviour on branch cuts in cmath module #102046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove another comma for better flow
  • Loading branch information
mdickinson authored Feb 19, 2023
commit 621fb2cf8d0d5c2626503a7cea3d060833fa78ba
2 changes: 1 addition & 1 deletion Doc/library/cmath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the function is then applied to the result of the conversion.
standards, we use the sign of zero to distinguish one side of the branch cut
from the other: for a branch cut along (a portion of) the real axis we look
at the sign of the imaginary part, while for a branch cut along the
imaginary axis, we look at the sign of the real part.
imaginary axis we look at the sign of the real part.

For example, the :func:`cmath.sqrt` function has a branch cut along the
negative real axis. An argument of ``complex(-2.0, -0.0)`` is treated as
Expand Down
0