[Libreoffice-bugs] [Bug 142933] New: Use Kahan summation algorithm for "+" and "+" operators

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 18 14:44:39 UTC 2021


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

            Bug ID: 142933
           Summary: Use Kahan summation algorithm for "+" and "+"
                    operators
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com
                CC: dante19031999 at gmail.com, erack at redhat.com

Chained summation operations like "=1.5+2^52-2^52" could benefit from Kahan
algorithm implemented in tdf#137679. To do that, possibly we should change
tokenizer (?), so that it treats several summation operations on the same level
as one operation analogous to SUM.

It should definitely not chain summations grouped by parentheses (I guess, it
would be automatic, since operations inside parentheses are not "on the same
level"). So e.g. "=(1.5+2^52)-2^52" would still return 2.

-- 
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/20210618/6ef63ffa/attachment.htm>


More information about the Libreoffice-bugs mailing list