Bug 505153 - Krunner wrong result when using log() function
Summary: Krunner wrong result when using log() function
Status: RESOLVED NOT A BUG
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-03 07:44 UTC by 白川間瀬流
Modified: 2025-06-03 11:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot from KRunner and KCalc (57.29 KB, image/png)
2025-06-03 07:44 UTC, 白川間瀬流
Details

Note You need to log in before you can comment on or make changes to this bug.
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.