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

--- Comment #2 from [email protected] ---
(In reply to Mike Kaganski from comment #1)
> The minus may be either a binary operator (as in your second expression), or
> unary (as in first). They are different, and have different precedence. An
> unary minus is applied to the number, not to the result of raising to a
> power, so your first expression is equivalent to "(-A1)^2+A2^2". That is
> defined in the standard, so not a bug. However, that is not obvious; there
> is a request to make such expressions to auto-parenthesise, to remove
> ambiguity.
> 
> *** This bug has been marked as a duplicate of bug 114929 ***

Thank you, Mr. Mike!
I've gut it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to