https://bugs.documentfoundation.org/show_bug.cgi?id=159684
Bug ID: 159684
Summary: EDITING: Erroneous interpretation of math formula in
LibreOffice Calc, eg. -1^2 evaluates to "1" instead of
"-1"
Product: LibreOffice
Version: 7.6.4.1 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
Enter a string
=-1^2
into any LibreOffice Calc cell. Then the formula is evaluated to "1",
however, the correct value should be -1.
In my opinion, -1^2 should be evaluated to -(1^2), but not to (-1)^2
Steps to Reproduce:
1. Enter a formula "=-1^2" in any LibreOffice Calc cell.
2. Press Enter.
3. Formula evaluates to "1" (i.e. it is understood as "(-1)^2").
4. The result should be -(1^2)=-1, not 1.
Actual Results:
1
Expected Results:
-1
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.6.4.1 (x86) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: pl-PL
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.