| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:82da49a9-e104-9749-55dc-6b1ff087634e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C682:A99C2:42D2851:54C7E24:6B021313 |
| html-safe-nonce | d95c02692ad34c2b45f01e555e34e7a015abbd089bbcb879719907abe0eb0dae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjgyOkE5OUMyOjQyRDI4NTE6NTRDN0UyNDo2QjAyMTMxMyIsInZpc2l0b3JfaWQiOiI2MzI3MjY5MjAwMDQ1OTM3NDI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 03e7cea364532a20f9574f554acbac1890d21c661643a10c9fcb00cc6396b742 |
| hovercard-subject-tag | pull_request:3762533351 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/150555/files |
| twitter:image | https://avatars.githubusercontent.com/u/1517291?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1517291?s=400&v=4 |
| og:image:alt | See #150534 and https://discuss.python.org/t/add-half-turns-functions-cospi-et-al-to-math-module-following-c23-ieee754-2019/107550/5 for discussion and context.
The following functions are added to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/150555/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150555%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150555%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/150555/files |
| Reload | https://github.com/python/cpython/pull/150555/files |
| Reload | https://github.com/python/cpython/pull/150555/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| jepler:c23-math-pifuns | https://github.com/jepler/cpython/tree/c23-math-pifuns |
|
Conversation
42
| https://github.com/python/cpython/pull/150555 |
|
Commits
25
| https://github.com/python/cpython/pull/150555/commits |
|
Checks
54
| https://github.com/python/cpython/pull/150555/checks |
|
Files changed
| https://github.com/python/cpython/pull/150555/files |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
gh-150534: Add C23 half-turn trigonometric *pi functions
| https://github.com/python/cpython/pull/150555/files#top |
|
Show all changes
25 commits
| https://github.com/python/cpython/pull/150555/files |
|
ad12476
Add *pi functions to math module
jepler May 27, 2026
| https://github.com/python/cpython/pull/150555/commits/ad12476f973b8e4410b715a78ab21d028d82284b |
|
03808d6
Add news item and remove testing code
jepler May 27, 2026
| https://github.com/python/cpython/pull/150555/commits/03808d6ed91cabf6b4e30fe329744ee2155d0685 |
|
e9ec2b6
tests: Add math_testcases for the new *pi functions
jepler May 28, 2026
| https://github.com/python/cpython/pull/150555/commits/e9ec2b634a361779a2d61b17538379392ae2af93 |
|
bb57325
fix discussion of atan2pi
jepler May 28, 2026
| https://github.com/python/cpython/pull/150555/commits/bb57325b217a47532c93548b1e1aac50909c0cb4 |
|
7650fa5
fix wrongly changed m_sinpi
jepler May 28, 2026
| https://github.com/python/cpython/pull/150555/commits/7650fa5471185511c5dca08037099fd3c0ee103b |
|
86de1c0
regenerate autoconf files with `make regen-configure`
jepler May 28, 2026
| https://github.com/python/cpython/pull/150555/commits/86de1c01b63230ac0178ef138cb612de99a446d2 |
|
be980bf
remove accidentally-committed code
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/be980bf7ca26b07b379c437e594b2c49e2ac6797 |
|
d3254cd
mathdata: Add +-inf, nan tests for new functions
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/d3254cd0fe79e4cd039e56631061f65737393eef |
|
6d8dd17
test_math: Let "mtestfile" test 2-arg functions
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/6d8dd17bfb41f2dbd407155f0392552cf41ea06f |
|
0c7fdfb
math_testcases: Add testcases for atan2pi
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/0c7fdfb7c1217c50bf1bdcd3e204044e0895f468 |
|
aa93326
These are now tested in math_testcases.txt
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/aa933261130f836c6b4c3e2e84ead778406ec27c |
|
e0ede77
Add whatsnew entry for math module changes
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/e0ede772e1d78c81c4946f6bb2ab4601a0dd20af |
|
694f479
Correct doc typos (atanpi2 -> atan2pi)
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/694f4797cfa1fbc3cb98fb9901fa6067d9db95a4 |
|
ab68cdc
Correct comment about which standard this conforms to
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/ab68cdc76ccef98999a9892b0e6a6cb3d35a13c7 |
|
359ac19
Add 'versionadded' notes to new functions
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/359ac19f58b8a426bac5e26cde4ea9d6344a1840 |
|
6cec4b8
Use float constants, not expressions, for simple values.
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/6cec4b85663c2bbc79e50e24ecd711acec58ba64 |
|
d66a2c3
as x is finite, regular comparisons can be used here
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/d66a2c36ed71daba716e1781d6cedd93af0d70e3 |
|
dcc5040
Merge remote-tracking branch 'origin/main' into c23-math-pifuns
jepler May 29, 2026
| https://github.com/python/cpython/pull/150555/commits/dcc5040e6753e2faf7ca8906be008fc1a201c167 |
|
1f98ce6
remove comment about glibc
jepler May 30, 2026
| https://github.com/python/cpython/pull/150555/commits/1f98ce685a81929ff8e33c7c2f56ab3b6563ab3f |
|
12fcd24
Update comments based on review.
jepler May 30, 2026
| https://github.com/python/cpython/pull/150555/commits/12fcd24a935b379903eea390505b697dda5dd227 |
|
56da6fc
math_methods: Re-sort and conform to surrounding spacing
jepler May 30, 2026
| https://github.com/python/cpython/pull/150555/commits/56da6fcf824fb15fcefcd2f9463c414c4f3cb6f3 |
|
0e1ba52
Apply suggestions from code review
jepler May 31, 2026
| https://github.com/python/cpython/pull/150555/commits/0e1ba523d73acf30cc69dddf1685f88b86a246cd |
|
c763c61
Update Modules/mathmodule.c
jepler May 31, 2026
| https://github.com/python/cpython/pull/150555/commits/c763c61b4e33c9fc2df7c3d15b3ae123b6f261dd |
|
e243ce3
apply lint fix
jepler May 31, 2026
| https://github.com/python/cpython/pull/150555/commits/e243ce3fa5aeaa5d5b2e11aa1371bde4ac9d0c40 |
|
4364ecb
Merge branch 'main' into c23-math-pifuns
serhiy-storchaka Jun 6, 2026
| https://github.com/python/cpython/pull/150555/commits/4364ecb551e7beabee702b1f9c59a1316bc00cc5 |
|
Clear filters
| https://github.com/python/cpython/pull/150555/files |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
math.rst
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
3.16.rst
| https://github.com/python/cpython/pull/150555/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
math_testcases.txt
| https://github.com/python/cpython/pull/150555/files#diff-944c900284c68b688cb7b3cfe9a43f9cb4c8a97d9c772ee6b815441d5dac89e1 |
|
test_math.py
| https://github.com/python/cpython/pull/150555/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
2026-05-27-15-51-29.gh-issue-150534.3Nan6S.rst
| https://github.com/python/cpython/pull/150555/files#diff-f37f8a9500d2a91bf4676200b9b2725868fa511037ef4be58fcd1cc9c19aef52 |
|
mathmodule.c
| https://github.com/python/cpython/pull/150555/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
configure
| https://github.com/python/cpython/pull/150555/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2 |
|
configure.ac
| https://github.com/python/cpython/pull/150555/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810 |
|
pyconfig.h.in
| https://github.com/python/cpython/pull/150555/files#diff-f67052280dd3a53f0e713339632a8c10bc2e420e24a70852d83aeb50d495835f |
| Doc/library/math.rst | https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
View file
| https://github.com/jepler/cpython/blob/4364ecb551e7beabee702b1f9c59a1316bc00cc5/Doc/library/math.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150555/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/pull/150555/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.16.rst | https://github.com/python/cpython/pull/150555/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
|
View file
| https://github.com/jepler/cpython/blob/4364ecb551e7beabee702b1f9c59a1316bc00cc5/Doc/whatsnew/3.16.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/150555/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/150555/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
| https://github.com/python/cpython/pull/150555/files#diff-e69e0be717f3409832d520e20348f62af39c9436ba1a9d82e842bc10e5eb51d7 |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
| Please reload this page | https://github.com/python/cpython/pull/150555/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |