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

            Bug ID: 93983
           Summary: Calculation error with -x^y
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: critical
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: donots...@fastmail.fm

=-x^y is calculated as (-x)^y whereas it should be -(x^y)

Eg. -7^2 = -49 but is displayed as +49.

This may be the result intended by a user entering such a formula, but it is
inaccurate - a calculator and Google both give the correct result of -49.

FYI gnumeric also displays +49 as the result but changes the formula in the
background to =(-7)^2

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to