[Kst] Equation parser - a possible BUG.
staikos at kde.org
Sat Nov 20 18:12:18 CET 2004
On Saturday 20 November 2004 12:00, Barth Netterfield wrote:
> He's right. The parser is wrong. '-' (and other unary operators?) should
> have the same precedence as multiplication (ie, below exponentiation). So
> we can interpret -x^2 as (-1)*x^2. The current parser interprets it as
> see, eg,
Yes, definitely a problem. I will investigate on Sunday night or Monday.
I'd like to write a unit or regression test for this first to try to make
sure no new problems are introduced.
> critcal bug, should be fixed for 1.0.
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst