SUMMARY The calculator messes up with the precedence with unary operators in scientific mode. Assume that I want to calculate 1/(1/12+1/6). The expected result is 4. STEPS TO REPRODUCE Click the buttons below in sequence ( 1 2 1/x + 6 1/x ) 1/x OBSERVED RESULT The screen displays 0 after +, 0.166666666667 after ), and 6 after the final 1/x EXPECTED RESULT The screen displays 0.0833333333333 after +, 0.25 after ), and 4 after the final 1/x SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 19.10 (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.67.0 Qt Version: 5.12.4 ADDITIONAL INFORMATION
https://invent.kde.org/utilities/kcalc/-/merge_requests/3
The patch was merged.