https://bugs.kde.org/show_bug.cgi?id=496713

            Bug ID: 496713
           Summary: A*B^C+X*Y^Z doesn't yield the same result as
                    (A*B^C)+(X*Y^Z).
    Classification: Applications
           Product: kcalc
           Version: 24.08.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: evan.te...@gmail.com
          Reporter: qaliboire.bug_rep...@pm.me
                CC: gabriel.barrantes....@outlook.com
  Target Milestone: ---

SUMMARY
A*B^C+X*Y^Z doesn't yield the correct result.
(A*B^C)+(X*Y^Z) does.

STEPS TO REPRODUCE
1. Open KCalc in science mode;
2. paste `5×3^3+2×3^2` in the input field and press the "Return" key.

OBSERVED RESULT
KCalc shows "225".

EXPECTED RESULT
We expect the same result as the one yielded by `(5×3^3)+(2×3^2)`, i.e. "153".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Another example: `7×4^5+5×3^4` (yields "10003") and `(7×4^5)+(5×3^4)` (yields
"7573").

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to