5 ms·
This is why every calculator ever should have a RPN mode. Postfix notation removes all of that parsing ambiguity. I ended up making my own RPN calculator in C+
by manchmalscott 2y ago
This is why every calculator ever should have a RPN mode. Postfix notation removes all of that parsing ambiguity.
I ended up making my own RPN calculator in C++/Dear ImGui because I wasn’t happy with any of the options for desktop Linux and, implementation wise, RPN is dead simple. Grab values off the stack, apply operator, push back onto stack.