summaryrefslogtreecommitdiffstats
path: root/test/01-exponent-operator.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:47:37 +0000
commit00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch)
treea6a58bd544eb0b76b9d3acc678ea88791acca045 /test/01-exponent-operator.txt
parentInitial commit. (diff)
downloadlibixion-upstream.tar.xz
libixion-upstream.zip
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/01-exponent-operator.txt')
-rw-r--r--test/01-exponent-operator.txt17
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