the following math expression "-3^-2" is given a positive solution in Calc while the solution is negative.
-3^-2 is calculated by Calc as (-3)^-2.
Write -(3^-2) if you want the negation of the formula.
Seems to be a duplicate of https://bugs.documentfoundation.org/show_bug.cgi?id=37271
I agree that -3^-2 should be treated like -(3^-2) not like (-3)^-2
Some argue about compatibility but I strongly disagree, a mistake is a mistake. I prefer not being compatible or at least detect such cases and propose to add parenthesis. The (or should I say "my") problem is, it's not majority opinion at least for LO Devs.
Anyway, it's indeed a duplicate of tdf#37271. I'm really sorry to say it won't be fixed as you and I would expect :-(
*** This bug has been marked as a duplicate of bug 37271 ***