From 13acd6ee96e2f831f3e5bc7d9b4962ed90becc2b Mon Sep 17 00:00:00 2001 From: MatMoul Date: Wed, 22 Apr 2026 22:25:50 +0200 Subject: [PATCH] feat: add HP48-style RPN calculator sample --- samples/hp48/index.html | 408 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 408 insertions(+) create mode 100644 samples/hp48/index.html diff --git a/samples/hp48/index.html b/samples/hp48/index.html new file mode 100644 index 0000000..d8eef66 --- /dev/null +++ b/samples/hp48/index.html @@ -0,0 +1,408 @@ + + + + + + HP48-style RPN Calculator + + + +
+
+
+

HP48-style RPN

+ powered by src/rpn-calculator.js +
+ +
+
+
RPN stack
+
deg
+
+
+
+
+ + + +
+
Keyboard input is captured directly by the screen
+ +
+ +
+
inputValue:
+
isEditing:
+
+ +
+
Stack
+
+
+ +
+
Arithmetic
+
+
+ +
+
Trigonometry
+
+
+ +
+
Constants
+
+
+ +
+
Use Enter to commit the current value. Buttons call command(...) directly, like a real RPN demo.
+
+
+ + + + + \ No newline at end of file