[Kst] [Bug 288355] New: Equation parser makes it difficult to exponentiate things with other things

D. V. Wiebe dvw at ketiltrout.net
Tue Dec 6 20:26:34 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=288355

           Summary: Equation parser makes it difficult to exponentiate
                    things with other things
           Product: kst
           Version: 2.0.4
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: equations
        AssignedTo: kst at kde.org
        ReportedBy: dvw at ketiltrout.net


AFAICT, if I want to evaluate "a" raised to the power of "b" with the equation
parser, I have to write this as:

  EXP(b * LN(a))

which, I grant, works, but isn't very nice.  I would propose something like:

  a ** b

which is something of a de facto standard (FORTRAN, Python, &c.), assuming
you're set on using ^ for logical XOR.

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


More information about the Kst mailing list