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

            Bug ID: 109189
           Summary: Internal SUM calculation of over 6 negative decimal
                    values results in rounding error
           Product: LibreOffice
           Version: 5.3.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: c.dre...@gmail.com

Description:
When you select multiple numbers of which at least 6 in a column are negative
and at least 2 of those have decimal values the calculated sum has a rounding
error.

This bug is also present in a BASE database with values that are calculated
with the SUM function.

Steps to Reproduce:
1. Enter the following values into a fresh CALC table (below each other):
144,1
-16,4
-67,3
-21,5
-11,7
-27,2

2. mark all values

3. observe the rounding error for the sum in the bottom right corner

Actual Results:  
Sum: -7,105427357601E-15

Expected Results:
Sum: 0


Reproducible: Always

User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Builds ID: LibreOffice 5.3.1.2


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101
Firefox/54.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to