summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-11 21:08:49 +0300
committerPaul Buetow <paul@buetow.org>2026-04-11 21:08:49 +0300
commitcc04f99c95fe6ee055057080826aac09550462ca (patch)
tree45226db3df8a73dd2eb127ed50f6ca988b5b341a /README.md
parentd28c7cc6ef8f109b8bba498b90d2357466c2195f (diff)
docs: add fast exponentiation operator ** to README
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 51735b8..ce0a01e 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,9 @@ gt '20 4 /' # 20 / 4 = 5
gt '2 3 ^' # 2^3 = 8
# → 8
+gt '2 10 **' # 2^10 = 1024 (Fast binary exponentiation)
+# → 1024
+
gt '10 3 %' # 10 % 3 = 1 (modulo)
# → 1
```