|
From: | Michael Godfrey |
Subject: | [Octave-bug-tracker] [bug #56884] mean can overflow |
Date: | Thu, 12 Sep 2019 07:36:11 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 |
Follow-up Comment #1, bug #56884 (project octave): There is a large literature on accurate summation. A place to start is: https://www.researchgate.net/publication/220411325_Accurate_Sum_and_Dot_Product Certainly, the current implementation is not appropriate. Kahan's algorithm is described at: https://en.wikipedia.org/wiki/Kahan_summation_algorithm _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56884> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |