RosettaCodeData/Task/Exponentiation-operator/Forth/exponentiation-operator-1.fth
2023-07-01 13:44:08 -04:00

2 lines
55 B
Forth

: ** ( n m -- n^m )
1 swap 0 ?do over * loop nip ;