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

            Bug ID: 94624
           Summary: Cell formula =<A1>^2 result is different from
                    =(<A1>)^2 if <A1> is negative
           Product: LibreOffice
           Version: 5.0.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 119122
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119122&action=edit
Example table with bug

Make a table of 3 cells in a row.
Put any negative number in A1 cell.
Type in the following formula in B1 cell: =<A1>^2
You get negative result. However, any even power should be positive whanever
the parameter is.
Type in the following formula in C1 cell: =(<A1>)^2
Now you get what you expect - positive square power of A1.
I know about bug in operations order in Calc and Excel, but in Writer I don't
have minus sign directly in the cell formula.

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

Reply via email to