aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-28 12:24:21 -0500
committerRob Landley <rob@landley.net>2018-08-28 12:24:21 -0500
commite579e69656b368bc6c344b5756436fcbdc7cdbd0 (patch)
treed612200fa9b3e0360b62aac550e09de83692a8f4
parentd74148279c8749c995e8381860aef59c1f524350 (diff)
downloadtoybox-e579e69656b368bc6c344b5756436fcbdc7cdbd0.tar.gz
Add a test case raised on the list.
-rw-r--r--tests/files/bc/sqrt.txt1
-rw-r--r--tests/files/bc/sqrt_results.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/files/bc/sqrt.txt b/tests/files/bc/sqrt.txt
index 8be84ca6..d1b451a9 100644
--- a/tests/files/bc/sqrt.txt
+++ b/tests/files/bc/sqrt.txt
@@ -10,3 +10,4 @@ sqrt(48765)
sqrt(9287356207356)
sqrt(0.189274385967238956872354)
sqrt(12389467137496823.134567829387456283946)
+sqrt(.0000000000000000000000000000123)
diff --git a/tests/files/bc/sqrt_results.txt b/tests/files/bc/sqrt_results.txt
index 8005a310..ef818087 100644
--- a/tests/files/bc/sqrt_results.txt
+++ b/tests/files/bc/sqrt_results.txt
@@ -9,3 +9,4 @@
3047516.39985021245496456781
.435056761776252544285578
111307983.260397019622398608908
+.0000000000000035071355833500363