| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e5f861dc-7c43-5a18-9ff5-4759e81ba015 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D544:A39F5:DB247B:12BDE64:696A914F |
| html-safe-nonce | 18426907ecc1a7a5d5debc16b350152cac76c709fb1bbdb9f09ee53abc15313f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTQ0OkEzOUY1OkRCMjQ3QjoxMkJERTY0OjY5NkE5MTRGIiwidmlzaXRvcl9pZCI6IjI2MDY3MjY0MjUyMTI1MjI4MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | eb63b5c6883e82c74a87f04631d305f36900f9cf2304ecfd6d6282f331be9ffe |
| hovercard-subject-tag | pull_request:486336038 |
| 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/22238/files |
| twitter:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue41513 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| 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 | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/22238/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22238%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22238%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/22238/files |
| Reload | https://github.com/python/cpython/pull/22238/files |
| Reload | https://github.com/python/cpython/pull/22238/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/22238/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/22238/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| 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 |
| rhettinger | https://github.com/rhettinger |
| python:master | https://github.com/python/cpython/tree/master |
| rhettinger:hypot_notes | https://github.com/rhettinger/cpython/tree/hypot_notes |
|
Conversation
3
| https://github.com/python/cpython/pull/22238 |
|
Commits
12
| https://github.com/python/cpython/pull/22238/commits |
|
Checks
0
| https://github.com/python/cpython/pull/22238/checks |
|
Files changed
| https://github.com/python/cpython/pull/22238/files |
| Please reload this page | https://github.com/python/cpython/pull/22238/files |
|
bpo-41513: Add docs and tests for hypot()
| https://github.com/python/cpython/pull/22238/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/22238/files |
|
0f7a2ff
Note performance aspects of using multiple accumulators
rhettinger Sep 6, 2020
| https://github.com/python/cpython/pull/22238/commits/0f7a2ff4e96137dc8b55f6849574adb88234e024 |
|
7a29756
Add accuracy notes
rhettinger Sep 6, 2020
| https://github.com/python/cpython/pull/22238/commits/7a29756a9d916ee54dc741ff23e00a8d95205c74 |
|
971ae45
Show where each footnote applies
rhettinger Sep 6, 2020
| https://github.com/python/cpython/pull/22238/commits/971ae455a77cdfcc0a6143c00355d09fc841141f |
|
080c68a
Better wording for the incremental loop costs
rhettinger Sep 6, 2020
| https://github.com/python/cpython/pull/22238/commits/080c68a3748e701f65244f984a61e6eecbe0b2f7 |
|
b6ecce6
Improve wording for the accuracy paragraph
rhettinger Sep 6, 2020
| https://github.com/python/cpython/pull/22238/commits/b6ecce695e06d536ae333f8013b6bf511f95e9b2 |
|
f32a43d
Add test cases
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/f32a43d97f21347358df18b079969823cf70786d |
|
5c3413c
Show subtest parameters in hex.
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/5c3413cab32f47d64d71ce0e05dd74238408f61d |
|
e9a4700
Improve comment
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/e9a47000253dc598309c625bb8990f5134fb0060 |
|
f79dc78
Remove doubt by computing reference values directly
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/f79dc78a97e555a513e32f859320a2f755459f7e |
|
8b20c2d
Add documentation
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/8b20c2d4f2d0d404487302066de2255e98e14007 |
|
2862f26
Fix order of references in notes
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/2862f26b7de2590fb9c4c7f310af9d3822187437 |
|
47bc660
Merge branch 'master' into hypot_notes
rhettinger Sep 14, 2020
| https://github.com/python/cpython/pull/22238/commits/47bc66061729dd65437f3bf94db88acb05a962bb |
|
Clear filters
| https://github.com/python/cpython/pull/22238/files |
| Please reload this page | https://github.com/python/cpython/pull/22238/files |
| Please reload this page | https://github.com/python/cpython/pull/22238/files |
|
math.rst
| https://github.com/python/cpython/pull/22238/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
test_math.py
| https://github.com/python/cpython/pull/22238/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
mathmodule.c
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
| Doc/library/math.rst | https://github.com/python/cpython/pull/22238/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
View file
| https://github.com/rhettinger/cpython/blob/47bc66061729dd65437f3bf94db88acb05a962bb/Doc/library/math.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22238/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22238/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
|
| https://github.com/python/cpython/pull/22238/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221 |
| Lib/test/test_math.py | https://github.com/python/cpython/pull/22238/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
View file
| https://github.com/rhettinger/cpython/blob/47bc66061729dd65437f3bf94db88acb05a962bb/Lib/test/test_math.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22238/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22238/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
|
| https://github.com/python/cpython/pull/22238/files#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5 |
| Modules/mathmodule.c | https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
View file
| https://github.com/rhettinger/cpython/blob/47bc66061729dd65437f3bf94db88acb05a962bb/Modules/mathmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22238/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| https://github.com/python/cpython/pull/22238/files#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7 |
|
| 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 |