Calc gives a wrong result for an expression like "=-A1^2". It should square the number in cell A1 and then return a negative result (if the A1 content is 2, the result should be -4). But instead it returns a positive result.
i confirm this issue. (if the A1 content is 2) =0-A1^2 returns -4 =-A1^2+0 returns 4 my LOO version: Version: 7.1.3.2 / LibreOffice Community Build ID: 10(Build:2) CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Ubuntu package version: 1:7.1.3~rc2-0ubuntu0.18.04.1~lo1 Calc: threaded
i can reproduce the issue with version 3.3.0.4 found in https://downloadarchive.documentfoundation.org/libreoffice/old/
Reported already but closed as NotABug. *** This bug has been marked as a duplicate of bug 74525 ***