FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-85417: Clarify behaviour on branch cuts in cmath module (GH-102046) by miss-islington · Pull Request #102276 · python/cpython · GitHub

Repository navigation

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

Merged
mdickinson merged 1 commit into
python:3.11from
miss-islington:backport-b513c46-3.11
Feb 26, 2023
Merged

mdickinson merged 1 commit into
python:3.11from
miss-islington:backport-b513c46-3.11

Conversation

miss-islington commented Feb 26, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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 dickinsm@gmail.com

…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 <dickinsm@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL