Hello, world.
This is a scientific calculator with two buttons.
0 presses
How it works
1 puts the number 1 on a stack. eml takes the top two numbers, the lower one as x and the top one as y, and replaces them with exp(x) − ln(y). The largest line on the screen is the top of the stack.
That one operation and the constant 1 are enough to build every function on a scientific calculator. It just takes a lot of presses.
Try a recipe
Each recipe clears the stack and presses the two buttons for you. Keyboard: 1, Enter for eml, Backspace to undo, Esc to clear.
The idea comes from Andrzej Odrzywołek's paper All elementary functions from a single operator, featured in Numberphile's A Two-Button Scientific Calculator. Results use ordinary floating-point arithmetic, so expect small rounding errors.