Skip to content
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

[3.11] gh-85417: Clarify behaviour on branch cuts in cmath module (GH-102046) #102276

Merged
merged 1 commit into from
Feb 26, 2023

Commits on Feb 26, 2023

  1. pythongh-85417: Clarify behaviour on branch cuts in cmath module (pyt…

    …honGH-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
    (cherry picked from commit b513c46)
    
    Co-authored-by: Mark Dickinson <[email protected]>
    mdickinson authored and miss-islington committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    c95dd17 View commit details
    Browse the repository at this point in the history