Bug 505153

Summary: Krunner wrong result when using log() function
Product: [Plasma] krunner Reporter: 白川間瀬流 <vamp898-kde>
Component: calculatorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: alexander.lohnau, kde, natalie_clarius
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot from KRunner and KCalc

Description 白川間瀬流 2025-06-03 07:44:58 UTC
Created attachment 181988 [details]
Screenshot from KRunner and KCalc

=20*log(2) in Krunner gives ~13.86
20*log(2) should be ~6

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Comment 1 David Edmundson 2025-06-03 11:37:54 UTC
Neither are not wrong. It's natural log vs base 10 log.

krunner gives the same as python, and I bet kcalc has a button to choose the base.