Bug 423105 - Krunner calculator simplifies very large number in scientific notation as 1.
Summary: Krunner calculator simplifies very large number in scientific notation as 1.
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: calculator (other bugs)
Version First Reported In: 5.19.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-17 13:22 UTC by Kishore Gopalakrishnan
Modified: 2020-11-22 03:57 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2020-06-17 13:22:17 UTC
SUMMARY
If we input a very large number in scientific notation (NeNNNNNNNN), the calculator in krunner displays the answer as 1.

STEPS TO REPRODUCE
1. In krunner, type `1e578667867867=`

OBSERVED RESULT
Answer is shown as '1'

EXPECTED RESULT
'infinity', 'overflow', or something similar should be displayed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Kernel Version: 5.7.2-arch1-1
Comment 1 Justin Zobel 2020-11-22 03:57:36 UTC
Confirmed on:
Operating System: openSUSE Tumbleweed 20201119
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1