René's URL Explorer Experiment


Title: GH-100425: Improve accuracy of builtin sum() for float inputs by rhettinger · Pull Request #100426 · python/cpython · GitHub

Open Graph Title: GH-100425: Improve accuracy of builtin sum() for float inputs by rhettinger · Pull Request #100426 · python/cpython

X Title: GH-100425: Improve accuracy of builtin sum() for float inputs by rhettinger · Pull Request #100426 · python/cpython

Description: Issue: gh-100425

Open Graph Description: Issue: gh-100425

X Description: Issue: gh-100425

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d8869243-e3d1-6377-2eab-d62b9aaff0b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB3B2:135F21:2944106:397E3B5:69694D92
html-safe-nonce0ebea69423cb92da09946c6b49032f32eeb311cdeaafc28bc81080971ddb3c01
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0IyOjEzNUYyMToyOTQ0MTA2OjM5N0UzQjU6Njk2OTREOTIiLCJ2aXNpdG9yX2lkIjoiODExMzIwNjc0ODc2NDUyMzkyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3f232f0e5cbdeb274bdb765341af6bcbf104a17c5f3a8ae9b452fe4b34100e54
hovercard-subject-tagpull_request:1174626615
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/100426/files
twitter:imagehttps://avatars.githubusercontent.com/u/1623689?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1623689?s=400&v=4
og:image:altIssue: gh-100425
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100426/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100426%2Ffiles
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%2F100426%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
Reloadhttps://github.com/python/cpython/pull/100426/files
Reloadhttps://github.com/python/cpython/pull/100426/files
Reloadhttps://github.com/python/cpython/pull/100426/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100426/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 pagehttps://github.com/python/cpython/pull/100426/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
rhettingerhttps://github.com/rhettinger
python:mainhttps://github.com/python/cpython/tree/main
rhettinger:compensated_sumhttps://github.com/rhettinger/cpython/tree/compensated_sum
Conversation 7 https://github.com/python/cpython/pull/100426
Commits 13 https://github.com/python/cpython/pull/100426/commits
Checks 0 https://github.com/python/cpython/pull/100426/checks
Files changed https://github.com/python/cpython/pull/100426/files
Please reload this pagehttps://github.com/python/cpython/pull/100426/files
GH-100425: Improve accuracy of builtin sum() for float inputs https://github.com/python/cpython/pull/100426/files#top
Show all changes 13 commits https://github.com/python/cpython/pull/100426/files
916ab7e Neumaier compensated summation rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/916ab7e12c5a32cdbc9003a066cc5383c9282564
787f2e5 Kahan summation rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/787f2e52b94f5501bf933a54f4720ef1c4784b00
bc308aa Revert "Kahan summation" rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/bc308aabca045f22e2607e2448b2c8608951d989
0c2ba04 Restore the bogus sign tests rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/0c2ba04d23057d4228ba8be9d31b5b884f74d0a1
89e46c8 Add tests and comments rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/89e46c83b5057ad367aa826c5040d752a3ba41d8
a9cb7d2 Add tests and docs rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/a9cb7d2ab06374c22de09b70cc4a1317a7b8c24d
839cc05 Add blurb rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/839cc05a2927256dee8fb1f4d4c92a421d150bfb
66db937 Remove out of date example for fsum() rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/66db9377f5c0317149b9c3c1bd31b68d449a92ae
af7613e Update floating point tutorial rhettinger Dec 22, 2022 https://github.com/python/cpython/pull/100426/commits/af7613ebcf1d118291320f07e9fab8100266c13c
4f4b731 Correct handling of overflowed or infinite sums rhettinger Dec 23, 2022 https://github.com/python/cpython/pull/100426/commits/4f4b73107da1a1509e5484512461f269ddc6711a
4da0b8f Move local declarations inside the block where they are used. rhettinger Dec 23, 2022 https://github.com/python/cpython/pull/100426/commits/4da0b8ff2e83ecea46bab85d56850851ea3c7eec
6c7894c For consistent results, apply compensation on the slow path as well. rhettinger Dec 23, 2022 https://github.com/python/cpython/pull/100426/commits/6c7894c82d2b2e562c2f72ef32745533917fbeee
3cf9536 Mark as an implementation detail. rhettinger Dec 23, 2022 https://github.com/python/cpython/pull/100426/commits/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a
Clear filters https://github.com/python/cpython/pull/100426/files
Please reload this pagehttps://github.com/python/cpython/pull/100426/files
Please reload this pagehttps://github.com/python/cpython/pull/100426/files
functions.rst https://github.com/python/cpython/pull/100426/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
math.rst https://github.com/python/cpython/pull/100426/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221
floatingpoint.rst https://github.com/python/cpython/pull/100426/files#diff-098f29e0fa85773b196553a29dd55df2186221318acb822785274ea2771f308b
test_builtin.py https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
2022-12-21-22-48-41.gh-issue-100425.U64yLu.rst https://github.com/python/cpython/pull/100426/files#diff-d0eb37809737970a4fdd9d7b4f5e30a40fd296400308dd538bc064668284646d
bltinmodule.c https://github.com/python/cpython/pull/100426/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
Doc/library/functions.rsthttps://github.com/python/cpython/pull/100426/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Doc/library/functions.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100426/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
https://github.com/python/cpython/pull/100426/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439
Doc/library/math.rsthttps://github.com/python/cpython/pull/100426/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Doc/library/math.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100426/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221
https://github.com/python/cpython/pull/100426/files#diff-cda4d855eb1739006a497bdead4e353aef302d1837ee7271ec5e4ba45f675221
Doc/tutorial/floatingpoint.rsthttps://github.com/python/cpython/pull/100426/files#diff-098f29e0fa85773b196553a29dd55df2186221318acb822785274ea2771f308b
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Doc/tutorial/floatingpoint.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100426/files#diff-098f29e0fa85773b196553a29dd55df2186221318acb822785274ea2771f308b
https://github.com/python/cpython/pull/100426/files#diff-098f29e0fa85773b196553a29dd55df2186221318acb822785274ea2771f308b
Lib/test/test_builtin.pyhttps://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Lib/test/test_builtin.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
https://github.com/python/cpython/pull/100426/files#diff-f23235c1f5dea0e2d79b33a58e00025ad3c440f96bb76013a1a37868e70a776b
Misc/NEWS.d/next/Core and Builtins/2022-12-21-22-48-41.gh-issue-100425.U64yLu.rsthttps://github.com/python/cpython/pull/100426/files#diff-d0eb37809737970a4fdd9d7b4f5e30a40fd296400308dd538bc064668284646d
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Misc/NEWS.d/next/Core%20and%20Builtins/2022-12-21-22-48-41.gh-issue-100425.U64yLu.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L242
Python/bltinmodule.chttps://github.com/python/cpython/pull/100426/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
View file https://github.com/rhettinger/cpython/blob/3cf9536ad7210bf5090b6e8e517130dd4c3d9a1a/Python/bltinmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/100426/{{ revealButtonHref }}
https://github.com/python/cpython/pull/100426/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/100426/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/100426/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
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.