summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Calculator.cpp
AgeCommit message (Collapse)Author
2022-06-11Calculator: bugfixes, reduce binary size.calc-onto-analog24Michele Bini
Don't use dynamically allocated stacks. Clarify and simplify code a bit. Add some comments and reduce code duplication. 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.