diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-11 21:08:49 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-11 21:08:49 +0300 |
| commit | cc04f99c95fe6ee055057080826aac09550462ca (patch) | |
| tree | 45226db3df8a73dd2eb127ed50f6ca988b5b341a /README.md | |
| parent | d28c7cc6ef8f109b8bba498b90d2357466c2195f (diff) | |
docs: add fast exponentiation operator ** to README
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ``` |
