busybox/testsuite/bc_subtract.bc
Denys Vlasenko 9a23b07c4c testsuite: add bc and dc tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-12-12 21:41:40 +01:00

33 lines
1.5 KiB
Plaintext

0 - 0
0 - 1
1 - 0
1 - 1
5 - 2
2 - 9
321974 - 12845976238457
2874519803456710938465 - 384723854
10000000000000000000000000000000000000000 - 999999999999999999999999999999999999999
10000000000000000000000000000000000000000 - 9999999999999999999999999999999999999999
10000000000000000000000000000000000000000 - 999999999999999999999999999999999999999.99999999999999999999999999999999999
10000000000000000000000000000000000000000 - 9999999999999999999999999999999999999999.9999999999999999999999999999999999
10000000000000000000000000000000000000000 - 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000001
10000000000000000000000000000000000000001 - 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000001
10000000000000000000000000000000000000000.0000000001 - 0.0000000000000000000000000000000000000000000000000000000000000000000000000001
-2 - 6
-23784692345 - 182934721309467230894628735496027345
-224352354962873059862 - -1245723576829456278354960278345
-3468273598 - -12354243
-0.92345768293 - -2354768923
-712384634.123476823 - -24768293376
-1879234638 - -0.917234869234
-0.9172438692134 - -0.971284967124
-0.1283475123465 - -0.937462346
-124765829346.2837468293562 - -0.923467829346
-12476829385769 - -1928476259034.8378629356
-0.38476284395876345 - -94875394587623.2357869324857
-4674596708467.34754789403674343567 - -48672394852354698.237548629345
979519669 - 3018100865
929002449 - 3280677283
0 - -525898
3- - -3