Bug 158652

Summary: Krunner calculator ^ problems
Product: [Plasma] krunner Reporter: Ivo Anjo <ivo>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ivo Anjo 2008-03-02 00:40:29 UTC
Version:            (using KDE 4.0.1)
Installed from:    SuSE RPMs
OS:                Linux

Currently, the operator ^ on krunner xor's numbers, instead of raising one to the power of the second. This maybe useful for programmers and other technical minded people, but normal/most people expect =2^4 to be 16, not 6.

Another related problem is that when typing ^ followed by a number, for example =2^4 it's written as =2⁴ (unless you press space before typing the number), and krunner doesn't recognize this at all.
Comment 1 Jordi Polo 2008-04-03 19:30:31 UTC
Solved in KDE trunk. 
^ now equals to pow.
and or xor for binary operations. 
Thanks for the suggestion