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
Next Next commit
Grammar tweak: remove unnecessary comma
  • Loading branch information
mdickinson authored Feb 19, 2023
commit 8d272e241b223c2985a6477f4d0d78442d57be5a
2 changes: 1 addition & 1 deletion Doc/library/cmath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ the function is then applied to the result of the conversion.
define those functions on the cut itself. Following Kahan's "Branch cuts for
complex elementary functions" paper, as well as Annex G of C99 and later C
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
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.

Expand Down
0