https://bugs.documentfoundation.org/show_bug.cgi?id=165525
Bug ID: 165525
Summary: Inconsistency in behaviour with the presence of a
double sign (operation, number), as with = - -1 and =
- -1^2
Product: LibreOffice
Version: 25.2.1.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
Hello
The problem is similar to this old bug report
https://bugs.documentfoundation.org/show_bug.cgi?id=114929
I got there just by playing with -3^2.
There is an inconsistency in the management of the double sign (operation sign
and number sign).
= - -1 is interpreted by LibreOffice as = 0 - -1 and the result is correct and
is +1.
Writing instead = - -1^2 the result is still +1 and is wrong, if instead I
write = 0 - -1^2 the answer is correctly -1, It's as if when there is an
exponentiation the first sign is completely ignored.
It is not a serious problem but certainly an inconsistent behaviour.
Bye, Moreno
Steps to Reproduce:
1.= - -1 OK
2.= 0 - -1 OK
3.= - -1^2 Wrong
4.= 0 - -1 OK
Actual Results:
+1
+1
+1 <<<
-1
Expected Results:
+1
+1
-1 <<<
-1
Reproducible: Always
User Profile Reset: No
Additional Info:
--
--
You are receiving this mail because:
You are the assignee for the bug.