René's URL Explorer Experiment


Title: bpo-41513: Improve speed and accuracy of math.hypot() by rhettinger · Pull Request #21803 · python/cpython · GitHub

Open Graph Title: bpo-41513: Improve speed and accuracy of math.hypot() by rhettinger · Pull Request #21803 · python/cpython

X Title: bpo-41513: Improve speed and accuracy of math.hypot() by rhettinger · Pull Request #21803 · python/cpython

Description: https://bugs.python.org/issue41513

Open Graph Description: https://bugs.python.org/issue41513

X Description: https://bugs.python.org/issue41513

Opengraph URL: https://github.com/python/cpython/pull/21803

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2da1dd4c-c2c4-e761-dbc6-20368a674c49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8CBE:2C2C4D:18B5613:21EFEF4:696AAB67
html-safe-nonced24b86d084b58727c84ce43fa80ba91d9c0325024cad6d0b2c1f6cc5822d5eaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0JFOjJDMkM0RDoxOEI1NjEzOjIxRUZFRjQ6Njk2QUFCNjciLCJ2aXNpdG9yX2lkIjoiMTAyNTUyNzU3OTQ2NTY1NzE5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace7476a16893579d8ff83291d0ac4ca0fb607a2e9b708f32ca55d23d834b9937a
hovercard-subject-tagpull_request:465232574
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/21803/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8c0c97589a39688d8b7d9347d401aeae14bd9c916ad5ec823e151fba4673a3cc/python/cpython/pull/21803
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c0c97589a39688d8b7d9347d401aeae14bd9c916ad5ec823e151fba4673a3cc/python/cpython/pull/21803
og:image:althttps://bugs.python.org/issue41513
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerhettinger
hostnamegithub.com
expected-hostnamegithub.com
None3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd9a979046e6382bd084e2bd873bf65f797125ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/21803#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21803
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F21803
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/21803
Reloadhttps://github.com/python/cpython/pull/21803
Reloadhttps://github.com/python/cpython/pull/21803
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/21803
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 pagehttps://github.com/python/cpython/pull/21803
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/21803#issue-comment-box
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:scaled_hypothttps://github.com/rhettinger/cpython/tree/scaled_hypot
bpo-41513: Improve speed and accuracy of math.hypot() https://github.com/python/cpython/pull/21803#top
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:scaled_hypothttps://github.com/rhettinger/cpython/tree/scaled_hypot
Conversation 10 https://github.com/python/cpython/pull/21803
Commits 10 https://github.com/python/cpython/pull/21803/commits
Checks 0 https://github.com/python/cpython/pull/21803/checks
Files changed https://github.com/python/cpython/pull/21803/files
Please reload this pagehttps://github.com/python/cpython/pull/21803
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Aug 10, 2020https://github.com/python/cpython/pull/21803#issue-675811883
Please reload this pagehttps://github.com/python/cpython/pull/21803
https://bugs.python.org/issue41513https://bugs.python.org/issue41513
Please reload this pagehttps://github.com/python/cpython/pull/21803
rhettingerhttps://github.com/rhettinger
August 8, 2020 13:32https://github.com/python/cpython/pull/21803#commits-pushed-e2b1b38
https://github.com/rhettinger
frexp/ldexp varianthttps://github.com/python/cpython/pull/21803/commits/e2b1b385c9bc3d2b081d1e1895849bf48f5e843c
e2b1b38https://github.com/python/cpython/pull/21803/commits/e2b1b385c9bc3d2b081d1e1895849bf48f5e843c
https://github.com/rhettinger
Multiply by power of two varianthttps://github.com/python/cpython/pull/21803/commits/7cb895d1bbb8a0a3fa658792fbe740cb2622ebde
7cb895dhttps://github.com/python/cpython/pull/21803/commits/7cb895d1bbb8a0a3fa658792fbe740cb2622ebde
https://github.com/rhettinger
Strengthen assertionshttps://github.com/python/cpython/pull/21803/commits/2d586b19fcaa15d7a33a9e45f0372ca78229fd9c
2d586b1https://github.com/python/cpython/pull/21803/commits/2d586b19fcaa15d7a33a9e45f0372ca78229fd9c
https://github.com/rhettinger
Added notes and commented out assertions to reach a stable resting pointhttps://github.com/python/cpython/pull/21803/commits/c15ce79ecfc94c53b4ead47aa612aaa7ec38cf02
c15ce79https://github.com/python/cpython/pull/21803/commits/c15ce79ecfc94c53b4ead47aa612aaa7ec38cf02
https://github.com/rhettinger
Two code paths. All tests pass.https://github.com/python/cpython/pull/21803/commits/c853597f555db0b85fb28b4161615d9361c24ab4
c853597https://github.com/python/cpython/pull/21803/commits/c853597f555db0b85fb28b4161615d9361c24ab4
https://github.com/rhettinger
Clean-up comments and rangeshttps://github.com/python/cpython/pull/21803/commits/03ec58b8ef2589b808bf4e5431d0fb4364e397ba
03ec58bhttps://github.com/python/cpython/pull/21803/commits/03ec58b8ef2589b808bf4e5431d0fb4364e397ba
https://github.com/rhettinger
Remove debugging codehttps://github.com/python/cpython/pull/21803/commits/ebf6a31812477ccbc83d5183d28f1cda826561e5
ebf6a31https://github.com/python/cpython/pull/21803/commits/ebf6a31812477ccbc83d5183d28f1cda826561e5
https://github.com/rhettinger
Clean-up comments and over-specified testshttps://github.com/python/cpython/pull/21803/commits/4742ef8aaac225f52e682e04a30882716cad14a9
4742ef8https://github.com/python/cpython/pull/21803/commits/4742ef8aaac225f52e682e04a30882716cad14a9
https://github.com/rhettinger
Add blurbhttps://github.com/python/cpython/pull/21803/commits/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
5e9f1a9https://github.com/python/cpython/pull/21803/commits/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Aug 10, 2020https://github.com/python/cpython/pull/21803#event-3636957528
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 10, 2020https://github.com/python/cpython/pull/21803#event-3636957588
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Aug 10, 2020https://github.com/python/cpython/pull/21803#event-3636958708
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Aug 10, 2020https://github.com/python/cpython/pull/21803#event-3636959584
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Aug 10, 2020 https://github.com/python/cpython/pull/21803#pullrequestreview-463923779
View reviewed changes https://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
Lib/test/test_math.pyhttps://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2#diff-a39b1e44e20048f5b8207fee83df00a2541a7f02716113e6243c33165e628cd5
Please reload this pagehttps://github.com/python/cpython/pull/21803
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 10, 2020 https://github.com/python/cpython/pull/21803#pullrequestreview-463964408
View reviewed changes https://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/21803#pullrequestreview-463964408
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21803
Modules/mathmodule.chttps://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 10, 2020https://github.com/python/cpython/pull/21803#discussion_r467693993
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21803
rhettingerhttps://github.com/rhettinger
Aug 10, 2020https://github.com/python/cpython/pull/21803#discussion_r467701967
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/21803
Modules/mathmodule.chttps://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2#diff-5b1186dfcc44670529aa53cb728a1c005f58f38324c24787a49f22cec36841c7
Please reload this pagehttps://github.com/python/cpython/pull/21803
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
mdickinsonhttps://github.com/mdickinson
tim-onehttps://github.com/tim-one
August 10, 2020 05:59https://github.com/python/cpython/pull/21803#event-3637315689
https://github.com/rhettinger
Improve the comments.https://github.com/python/cpython/pull/21803/commits/5c6478f2f88f0cb6ccd65f0fe17f25ffbf059a12
5c6478fhttps://github.com/python/cpython/pull/21803/commits/5c6478f2f88f0cb6ccd65f0fe17f25ffbf059a12
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
fff3c28https://github.com/python/cpython/commit/fff3c28052e6b0750d6218e00acacd2fded4991a
Aug 16, 2020https://github.com/python/cpython/pull/21803#event-3658973342
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 16, 2020https://github.com/python/cpython/pull/21803#event-3658973368
shihai1991https://github.com/shihai1991
Aug 20, 2020 https://github.com/python/cpython/pull/21803#ref-commit-9346853
https://github.com/rhettinger
https://github.com/shihai1991
bpo-41513: Improve speed and accuracy of math.hypot() (https://github.com/shihai1991/cpython/commit/9346853173f221fecaaacf100ae105aabb088fdc
pythonGH-21803https://github.com/python/cpython/pull/21803
)https://github.com/shihai1991/cpython/commit/9346853173f221fecaaacf100ae105aabb088fdc
9346853https://github.com/shihai1991/cpython/commit/9346853173f221fecaaacf100ae105aabb088fdc
xzy3https://github.com/xzy3
Oct 18, 2020 https://github.com/python/cpython/pull/21803#ref-commit-e4195d3
https://github.com/rhettinger
bpo-41513: Improve speed and accuracy of math.hypot() (https://github.com/xzy3/cpython/commit/e4195d3658b1c4cf84ff210de5adca82c48ef96b
pythonGH-21803https://github.com/python/cpython/pull/21803
)https://github.com/xzy3/cpython/commit/e4195d3658b1c4cf84ff210de5adca82c48ef96b
e4195d3https://github.com/xzy3/cpython/commit/e4195d3658b1c4cf84ff210de5adca82c48ef96b
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F21803
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/21803/files/5e9f1a9cbf5a83188b8d866be60e9671be9989b2
https://github.com/mdickinson
mdickinson https://github.com/mdickinson
https://github.com/tim-one
tim-one https://github.com/tim-one
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/21803
https://github.com/rhettinger
https://github.com/pganssle
https://github.com/serhiy-storchaka
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.