summaryrefslogtreecommitdiffstats
path: root/test/01-exponent-operator.txt
blob: 2e9de316c10ee557ce5df177d5cf59a34f304762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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