Bug 487493 - kcalc miscalculates equasions
Summary: kcalc miscalculates equasions
Status: RESOLVED NOT A BUG
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 23.08.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 17:36 UTC by Unknown
Modified: 2024-05-25 21:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2024-05-24 17:36:43 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
kcalc miscalculates equasions

STEPS TO REPRODUCE
1. open kcalc
2. calculate 50 = 50 *2


OBSERVED RESULT
comes out 150

EXPECTED RESULT
should come out 200

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Fedora KDE spin
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 Antonio Rojas 2024-05-24 19:37:14 UTC
> 2. calculate 50 = 50 *2

what exactly is this meant to compute?
Comment 2 Evan Teran 2024-05-25 21:58:32 UTC
(In reply to Antonio Rojas from comment #1)
> > 2. calculate 50 = 50 *2
> 
> what exactly is this meant to compute?

I'm assuming that the reporter meant "50+50*2" because that would indeed produce 150.

If that's so, this is not a big as kcalc implements proper order of operations, making 200 NOT the correct answer.