News for hackers. Stuff that matters.
Re:UI is hell: four-function calculators by _moof on Friday January 24, 2025 @03:06AM (#42811376)
My HP RPN calculator only has four positions available in its stack, which I imagine makes the implementation a bit simpler than a stack of arbitrary size.
Re:UI is hell: four-function calculators by persnickety on Friday January 24, 2025 @03:19AM (#42811436)
The typical 4-function calculator doesn't even allow multiple subtrees of computation, so I think it works out to having something like 2 entries on the stack.