diff options
Diffstat (limited to '')
-rw-r--r-- | test/01-exponent-operator.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/01-exponent-operator.txt b/test/01-exponent-operator.txt new file mode 100644 index 0000000..2e9de31 --- /dev/null +++ b/test/01-exponent-operator.txt @@ -0,0 +1,17 @@ +%% Test case for the exponent (^) operator. +%mode init +A4=2^3 +B1:5 +B2=A4^B1 +%calc +%mode result +A4=8 +B2=32768 +%check +%mode edit +B1:4 +%recalc +%mode result +B2=4096 +%check +%exit |