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

            Bug ID: 120939
           Summary: Calc performs a wrong calculation!!!
           Product: LibreOffice
           Version: 6.0.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Calc performs a wrong calculation using the BIT.XOR function

Steps to Reproduce:
Create a spreadsheet, like the one I'm going to attach.
In it:
1.Create a column of values increasing from -1 to +1, increasing in 0,2 steps
2.On a column next to this, insert the formula: =(A1*100)*(A1*100) and
replicate in on the entire column
3.On a column next to this, insert the formula: =BIT.XOR(A1; 1) and replicate
in on the entire column

Actual Results:
C7 results in "398". It is a wrong result!

Expected Results:
C7 should result in "401", just like the C5 cell


Reproducible: Always


User Profile Reset: No



Additional Info:
This doesn't happen if you directly use the formula
"=BIT.XOR((0,2*100)*(0,2*100); 1)", which correctly results in 401.

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

Reply via email to