| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d8869243-e3d1-6377-2eab-d62b9aaff0b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B3B2:135F21:2944106:397E3B5:69694D92 |
| html-safe-nonce | 0ebea69423cb92da09946c6b49032f32eeb311cdeaafc28bc81080971ddb3c01 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0IyOjEzNUYyMToyOTQ0MTA2OjM5N0UzQjU6Njk2OTREOTIiLCJ2aXNpdG9yX2lkIjoiODExMzIwNjc0ODc2NDUyMzkyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f232f0e5cbdeb274bdb765341af6bcbf104a17c5f3a8ae9b452fe4b34100e54 |
| hovercard-subject-tag | pull_request:1174626615 |
| 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/100426/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 | Issue: gh-100425 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 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%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 |
| Reload | https://github.com/python/cpython/pull/100426/files |
| Reload | https://github.com/python/cpython/pull/100426/files |
| Reload | https://github.com/python/cpython/pull/100426/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 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:main | https://github.com/python/cpython/tree/main |
| rhettinger:compensated_sum | https://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 page | https://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 page | https://github.com/python/cpython/pull/100426/files |
| Please reload this page | https://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.rst | https://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.rst | https://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.rst | https://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.py | https://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.rst | https://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.c | https://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 |
| 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 |