summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Calculator.cpp
AgeCommit message (Collapse)Author
2022-06-11Not sure why this improves firmware size, perhaps because of a butterfly ↵calc-onto-edgeMichele Bini
effect during compiler optimization.
2022-06-11add back missing error handling; run operators.pop after potentially ↵Michele Bini
branching out to see if it results in smaller firmware size
2022-06-11Further simplify codeMichele Bini
2022-06-11Inline parse float, since it's used only onceMichele Bini
2022-06-11simplify code, reduce duplicationMichele Bini
2022-06-11Remove gotosMichele Bini
2022-06-11Clarify code a bitMichele Bini
2022-06-11Calculator: bugfixes, reduce binary sizeMichele Bini
Use statically-allocated stacks. Fixes: * Display correctly decimal parts starting with zero, such as 0.09 * Handle correctly expressions like '-(5+11)'=-16 or '3*-(5+11)'=-48
2022-06-11Add Calculator screen as new AppRaupinger
A calculator based on the Shunting-yard algorithm as described here: https://en.wikipedia.org/wiki/Shunting-yard_algorithm Moving the Motion App into the Settings screen to use the tile in the ApplicationList for the Calculator.