[Libreoffice-bugs] [Bug 43509] exponent priority in calculation order - wrong result

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 10 11:48:40 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=43509

--- Comment #4 from nicolabarbini at gmail.com 2012-04-10 02:48:40 PDT ---
in a general purpose program
a "-" sign should be considered a minus sign, not an unary operator :
at school everyone is taught that ^ has the priority on a sign,
only a few of these learn about existence of unary operators later on.

Most people won't understand or expect that ^ has the priority on *,/ and + but
not on -,
it is very insidious.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list