diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-12 21:41:40 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-12 21:41:40 +0100 |
commit | 9a23b07c4c0d06c40d7c0ce91c5fdf7c8449ac49 (patch) | |
tree | 9b1a85084b1e046b0a5b5eb06375334ef1eb2f56 /testsuite/bc_divide.bc | |
parent | d6ad3666dc51f475a6e76b07f2c59d039f69f2d4 (diff) | |
download | busybox-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_divide.bc')
-rw-r--r-- | testsuite/bc_divide.bc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testsuite/bc_divide.bc b/testsuite/bc_divide.bc new file mode 100644 index 000000000..4d0caddc9 --- /dev/null +++ b/testsuite/bc_divide.bc | |||
@@ -0,0 +1,31 @@ | |||
1 | 0 / 1 | ||
2 | 0 / 321566 | ||
3 | 0 / 0.3984567238456 | ||
4 | 1 / 1 | ||
5 | 1 / 1287469297356 | ||
6 | 1 / 0.2395672438567234 | ||
7 | 1 / 237586239856.0293596728392360 | ||
8 | 1249687284356 / 3027949207835207 | ||
9 | 378617298617396719 / 35748521 | ||
10 | 9348576237845624358 / 0.9857829375461 | ||
11 | 35768293846193284 / 2374568947.045762839567823 | ||
12 | -78987234567812345 / 876542837618936 | ||
13 | -356789237555535468 / 0.3375273860984786903 | ||
14 | -5203475364850390 / 435742903748307.70869378534043296404530458 | ||
15 | -0.37861723347576903 / 7385770896 | ||
16 | -0.399454682043962 / 0.34824389304 | ||
17 | -0.6920414523873204 / 356489645223.76076045304879030 | ||
18 | -35872917389671.7573280963748 / 73924708 | ||
19 | -78375896314.4836709876983 / 0.78356798637817 | ||
20 | -2374123896417.143789621437581 / 347821469423789.1473856783960 | ||
21 | -896729350238549726 / -34976289345762 | ||
22 | -2374568293458762348596 / -0.8792370647234987679 | ||
23 | -237584692306721845726038 / -21783910782374529637.978102738746189024761 | ||
24 | -0.23457980123576298375682 / -1375486293874612 | ||
25 | -0.173897061862478951264 / -0.8179327486017634987516298745 | ||
26 | -0.9186739823576829347586 / -0.235678293458756239846 | ||
27 | -0.9375896183746982374568 / -13784962873546.0928729395476283745 | ||
28 | -2930754618923467.12323745862937465 / -734869238465 | ||
29 | -23745861923467.874675129834675 / -0.23542357869124756 | ||
30 | -3878923750692883.7238596702834756902 / -7384192674957215364986723.9738461923487621983 | ||
31 | 1 / 0.00000000000000000000000000000000000000000002346728372937352457354204563027 | ||