[Libreoffice-bugs] [Bug 137679] New: Implement a Kahan summation algorithm for reduce the numerical error in the total

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 22 12:53:24 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137679

            Bug ID: 137679
           Summary: Implement a Kahan summation algorithm for reduce the
                    numerical error in the total
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: 79045_79045 at mail.ru

Description:
Implement a Kahan summation algorithm for reduce the numerical error in the
total

https://en.wikipedia.org/wiki/Kahan_summation_algorithm

Eike already wrote about it in
https://git.libreoffice.org/core/+/5ac74f15dcdf85faa2ac1cb7317ea77e31fbcd50%5E%21/#F0

It should give an effect for SUM and AVERAGE function

A code point here is
https://opengrok.libreoffice.org/xref/core/sc/source/core/tool/interpr6.cxx?r=08e85556&mo=15551&fi=511#511

Steps to Reproduce:
-

Actual Results:
Today we have some problems with a calculation accuracy for floating-point
numbers

Expected Results:
We'll have reduce the numerical error in the total for floating-point numbers


Reproducible: Always


User Profile Reset: No



Additional Info:
-

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201022/7ec4f7c0/attachment.htm>


More information about the Libreoffice-bugs mailing list