[Kst] Equation parser decisions to make
staikos at kde.org
Mon Nov 22 20:39:47 CET 2004
Test of ()[1.0000000000000000] == 0.0000000000000000 failed.
Do we allow empty equations? If so what do they evaluate to? 0? NOPOINT?
Test of (asin(sin(x)))[2.3875823288000002] == 2.3875823288000002 failed.
Still haven't figured out what's up with this one.
Test of (!x)[nan] == 1.0000000000000000 failed.
What should the result of !NOPOINT be? I think it should be true, but
right now it's false.
Test of (-1|257)[0.0000000000000000] == 257.0000000000000000 failed.
Test of (257|-1)[0.0000000000000000] == 257.0000000000000000 failed.
What do we want the result of bitwise ops with negative numbers to be?
Test of (foo(3,)) parsing passed, but should have failed.
Test of (foo(3,,5)) parsing passed, but should have failed.
Should we allow empty arguments to functions and plugins? If so, what do
we put there?
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst