[Libreoffice-bugs] [Bug 142134] New: Basic math calculation errors

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 6 17:50:15 UTC 2021


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

            Bug ID: 142134
           Summary: Basic math calculation errors
           Product: LibreOffice
           Version: 7.1.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: emily at electric.aero

Description:
I have a cell that contains "=10.2-9.3" and the value that is returned is
0.899999999999999 instead of 0.9 exactly.

I have another cell that contains "=(16+16+10.2)-(16+16+9.3)", and it returns
0.900000000000006 instead of 0.9 exactly.



Steps to Reproduce:
1. Create a cell that contains "=10.2-9.3".
2. Create a cell that contains "=(16+16+10.2)-(16+16+9.3)".
3.

Actual Results:
Happens in new empty worksheets

Expected Results:
I should be getting exactly 0.9 or 0.900000000


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
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/20210506/6bde01ab/attachment.htm>


More information about the Libreoffice-bugs mailing list