Bug 177464 - krunner calculator plugin can't handle multiple exponents
Summary: krunner calculator plugin can't handle multiple exponents
Status: RESOLVED DUPLICATE of bug 167986
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 181764 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-11 06:08 UTC by Unknown
Modified: 2009-01-24 16:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2008-12-11 06:08:51 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Unspecified

If I type 

=2^2

into krunner, it gives me 4. If I type either of

=2^2^1
=(2^2)^1

It gives me 1. For some reason, when there are multiple exponents in an expression, the answer returned is the value after the last exponent. For example,

=(2^2)^(5*2)

gives 10.

This is pretty bad. It almost caused me to write down the wrong answer for my combinatorics take home exam, yikes!
Comment 1 Dario Andres 2008-12-12 01:32:06 UTC
This may be related/duplicate of bug 167986.
I can confirm it using:
Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 895869 / kdebase svn rev. 895869
Comment 2 FiNeX 2008-12-12 18:14:44 UTC

*** This bug has been marked as a duplicate of bug 167986 ***
Comment 3 Dario Andres 2009-01-24 16:08:32 UTC
*** Bug 181764 has been marked as a duplicate of this bug. ***