aboutsummaryrefslogtreecommitdiff
path: root/testsuite/bc_power.bc
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 21:41:40 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-12 21:41:40 +0100
commit9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49 (patch)
tree9b1a85084b1e046b0a5b5eb06375334ef1eb2f56 /testsuite/bc_power.bc
parentd6ad3666dc51f475a6e76b07f2c59d039f69f2d4 (diff)
downloadbusybox-w32-9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49.tar.gz
busybox-w32-9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49.tar.bz2
busybox-w32-9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49.zip
testsuite: add bc and dc tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/bc_power.bc')
-rw-r--r--testsuite/bc_power.bc44
1 files changed, 44 insertions, 0 deletions
diff --git a/testsuite/bc_power.bc b/testsuite/bc_power.bc
new file mode 100644
index 000000000..5657cdd7b
--- /dev/null
+++ b/testsuite/bc_power.bc
@@ -0,0 +1,44 @@
10 ^ 0
20 ^ 1
30 ^ 1894
41 ^ 0
539746823 ^ 0
60.238672983047682 ^ 0
718394762374689237468.97354862973846 ^ 0
81 ^ 1
92 ^ 1
1018927361346 ^ 1
110.23523785962738592635777 ^ 1
12328956734869213746.89782398457234 ^ 1
138937 ^ 98
140.124876812394 ^ 2396
1593762.2836 ^ 13
161 ^ -1
172 ^ -1
1810 ^ -1
19683734768 ^ -1
2038579623756.897937568235 ^ -1
211 ^ -32467
222 ^ -53
2323897 ^ -213
24-1 ^ 1
25-1 ^ 2
26-2 ^ 1
27-2 ^ 2
28-237 ^ 294
29-3746 ^ 28
30-0.3548 ^ 35
31-4267.234 ^ 37
32-326.3246 ^ 78
33-1 ^ -1
34-1 ^ -2
35-2 ^ -1
36-2 ^ -2
37-237 ^ -293
38-784 ^ -23
39-86 ^ -7
40-0.23424398 ^ -781
41-178.234786 ^ -879
42-1274.346 ^ -768
430 ^ -251
44-0.2959371298 ^ 227