busybox/testsuite/bc_sqrt.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

19 lines
345 B
Plaintext

scale = 20
sqrt(0)
sqrt(2)
sqrt(4)
sqrt(9)
sqrt(16)
sqrt(25)
sqrt(121)
sqrt(48765)
sqrt(9287356207356)
sqrt(0.189274385967238956872354)
sqrt(12389467137496823.134567829387456283946)
sqrt(.0000000000000000000000000000123)
sqrt(1)
scale = 0;
sqrt(1407)
sqrt(79101)
scale = 6; sqrt(88.1247699921300025847737099094480986051698668662822009535526240)