8000 gh-111933: fix broken link to A.Neumaier article by skirpichev · Pull Request #111937 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111933: fix broken link to A.Neumaier article #111937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 12, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch to wikipedia link.
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
  • Loading branch information
rhettinger and skirpichev authored Nov 11, 2023
commit 09ebdf7c49da3b93e0dc79557ec3cb753643a77b
2 changes: 1 addition & 1 deletion Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2614,7 +2614,7 @@ builtin_sum_impl(PyObject *module, PyObject *iterable, PyObject *start)
// Neumaier, A. (1974), Rundungsfehleranalyse einiger Verfahren
// zur Summation endlicher Summen. Z. angew. Math. Mech.,
// 54: 39-51. https://doi.org/10.1002/zamm.19740540106
// Scanned text: https://arnold-neumaier.at/scan/01.pdf
// https://en.wikipedia.org/wiki/Kahan_summation_algorithm#Further_enhancements
double x = PyFloat_AS_DOUBLE(item);
double t = f_result + x;
if (fabs(f_result) >= fabs(x)) {
Expand Down
0