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/dc_divmod.dc | |
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/dc_divmod.dc')
-rw-r--r-- | testsuite/dc_divmod.dc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/testsuite/dc_divmod.dc b/testsuite/dc_divmod.dc new file mode 100644 index 000000000..1633203ff --- /dev/null +++ b/testsuite/dc_divmod.dc | |||
@@ -0,0 +1,64 @@ | |||
1 | 20k | ||
2 | 0 1~pRpR | ||
3 | 0 321566~pRpR | ||
4 | 0 0.3984567238456~pRpR | ||
5 | 1 1~pRpR | ||
6 | 1 1287469297356~pRpR | ||
7 | 1 0.2395672438567234~pRpR | ||
8 | 1 237586239856.0293596728392360~pRpR | ||
9 | 1249687284356 3027949207835207~pRpR | ||
10 | 378617298617396719 35748521~pRpR | ||
11 | 9348576237845624358 0.9857829375461~pRpR | ||
12 | 35768293846193284 2374568947.045762839567823~pRpR | ||
13 | _78987234567812345 876542837618936~pRpR | ||
14 | _356789237555535468 0.3375273860984786903~pRpR | ||
15 | _5203475364850390 435742903748307.70869378534043296404530458~pRpR | ||
16 | _0.37861723347576903 7385770896~pRpR | ||
17 | _0.399454682043962 0.34824389304~pRpR | ||
18 | _0.6920414523873204 356489645223.76076045304879030~pRpR | ||
19 | _35872917389671.7573280963748 73924708~pRpR | ||
20 | _78375896314.4836709876983 0.78356798637817~pRpR | ||
21 | _2374123896417.143789621437581 347821469423789.1473856783960~pRpR | ||
22 | _896729350238549726 _34976289345762~pRpR | ||
23 | _2374568293458762348596 _0.8792370647234987679~pRpR | ||
24 | _237584692306721845726038 _21783910782374529637.978102738746189024761~pRpR | ||
25 | _0.23457980123576298375682 _1375486293874612~pRpR | ||
26 | _0.173897061862478951264 _0.8179327486017634987516298745~pRpR | ||
27 | _0.9186739823576829347586 _0.235678293458756239846~pRpR | ||
28 | _0.9375896183746982374568 _13784962873546.0928729395476283745~pRpR | ||
29 | _2930754618923467.12323745862937465 _734869238465~pRpR | ||
30 | _23745861923467.874675129834675 _0.23542357869124756~pRpR | ||
31 | _3878923750692883.7238596702834756902 _7384192674957215364986723.9738461923487621983~pRpR | ||
32 | 1 0.00000000000000000000000000000000000000000002346728372937352457354204563027~pRpR | ||
33 | 0k | ||
34 | 0 1~pRpR | ||
35 | 0 321566~pRpR | ||
36 | 0 0.3984567238456~pRpR | ||
37 | 1 1~pRpR | ||
38 | 1 1287469297356~pRpR | ||
39 | 1 0.2395672438567234~pRpR | ||
40 | 1 237586239856.0293596728392360~pRpR | ||
41 | 1249687284356 3027949207835207~pRpR | ||
42 | 378617298617396719 35748521~pRpR | ||
43 | 9348576237845624358 0.9857829375461~pRpR | ||
44 | 35768293846193284 2374568947.045762839567823~pRpR | ||
45 | _78987234567812345 876542837618936~pRpR | ||
46 | _356789237555535468 0.3375273860984786903~pRpR | ||
47 | _5203475364850390 435742903748307.70869378534043296404530458~pRpR | ||
48 | _0.37861723347576903 7385770896~pRpR | ||
49 | _0.399454682043962 0.34824389304~pRpR | ||
50 | _0.6920414523873204 356489645223.76076045304879030~pRpR | ||
51 | _35872917389671.7573280963748 73924708~pRpR | ||
52 | _78375896314.4836709876983 0.78356798637817~pRpR | ||
53 | _2374123896417.143789621437581 347821469423789.1473856783960~pRpR | ||
54 | _896729350238549726 _34976289345762~pRpR | ||
55 | _2374568293458762348596 _0.8792370647234987679~pRpR | ||
56 | _237584692306721845726038 _21783910782374529637.978102738746189024761~pRpR | ||
57 | _0.23457980123576298375682 _1375486293874612~pRpR | ||
58 | _0.173897061862478951264 _0.8179327486017634987516298745~pRpR | ||
59 | _0.9186739823576829347586 _0.235678293458756239846~pRpR | ||
60 | _0.9375896183746982374568 _13784962873546.0928729395476283745~pRpR | ||
61 | _2930754618923467.12323745862937465 _734869238465~pRpR | ||
62 | _23745861923467.874675129834675 _0.23542357869124756~pRpR | ||
63 | _3878923750692883.7238596702834756902 _7384192674957215364986723.9738461923487621983~pRpR | ||
64 | 1 0.00000000000000000000000000000000000000000002346728372937352457354204563027~pRpR | ||