3
0

bc_sqrt.bc 345 B

123456789101112131415161718
  1. scale = 20
  2. sqrt(0)
  3. sqrt(2)
  4. sqrt(4)
  5. sqrt(9)
  6. sqrt(16)
  7. sqrt(25)
  8. sqrt(121)
  9. sqrt(48765)
  10. sqrt(9287356207356)
  11. sqrt(0.189274385967238956872354)
  12. sqrt(12389467137496823.134567829387456283946)
  13. sqrt(.0000000000000000000000000000123)
  14. sqrt(1)
  15. scale = 0;
  16. sqrt(1407)
  17. sqrt(79101)
  18. scale = 6; sqrt(88.1247699921300025847737099094480986051698668662822009535526240)