Skip to content

Commit 50a88e5

Browse files
committed
extend test cases for pow
1 parent 61d9413 commit 50a88e5

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

tests/semantics/pow.csv

+18-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
Op1,Op2,Result
2+
-6,-3,0
3+
-6,2,36
4+
-6,3,-216
5+
-2,-2,0
6+
-2,-1,0
7+
-2,0,1
8+
-2,1,-2
9+
-2,2,4
10+
-2,3,-8
11+
-1,-3,-1
12+
-1,-2,1
13+
-1,-1,-1
14+
-1,0,1
15+
-1,1,-1
16+
-1,2,1
17+
-1,3,-1
18+
0,-3,inf
219
0,0,1
320
0,3,0
4-
0,-3,inf
521
2,0,1
6-
-2,0,1
22+
1,-3,1
723
1,1,1
824
1,3,1
9-
1,-3,1
1025
2,1,2
11-
-2,1,-2
1226
3,2,9
1327
4,3,64
1428
2,3,8
15-
-6,2,36
16-
-6,3,-216
1729
6,-3,0
18-
-6,-3,0
1930
2,64,18446744073709551616
2031
2,127,170141183460469231731687303715884105728
2132
2,128,340282366920938463463374607431768211456

0 commit comments

Comments
 (0)