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

--- Comment #3 from Karel Hruska <[email protected]> ---
(In reply to Mike Kaganski from comment #2)
> (In reply to Regina Henschel from comment #0)
> > ... as in common school mathematic ...
> 
> "Common school" mathematics doesn't say anything about priority of minus as
> a negative number sign. It deals with priorities of operations, and minus in
> mathematical notation of a number (e.g, -10) is not an operation, but a part
> of the number, like "1" and "0" are part of 10, and no need to define those
> "0" and "1" priorities wrt other parts of expression - they substitute an
> atomic entity. The equivalency of "-10" to "0-10" is computational, it does
> not translate to equivalency of behavior of expression parts.

Okay, let's not talk about numbers, but about expressions.

Let's cell A1 be number "3" and the content of cell B1 be "=-A1^2". Common
school math say, that in the first order the number 3 should be powered by 2,
then the minus sign should be added. This is something that LO does not do.

Similar example:

Common school math says, that relation

z = -i_M^2/(3*u) + u + i_DELTA^2/8

is equivalent to 

z = u + i_DELTA^2/8 - i_M^2/(3*u)

If you try to implement the first expression in LO Calc, you MUST add brackets
like following

z = -(i_M^2)/(3*u) + u + i_DELTA^2/8

otherwise the previously mentioned rule is broken.

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

Reply via email to