You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kahan summation gives better accuracy than naive summation. For instance when summing up N positive values, the relative error of Kahan summation is bound by 2^-52 while with naive summation, the error is linear with the number of values that are summed up.