summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2006-12-01 05:48:23 (GMT)
committerdas <das>2006-12-01 05:48:23 (GMT)
commit4efb0e2c9411ff649b81a26e8a9e35f1266c9697 (patch)
treeb0d51317d16e555726ecf2b36e9f6e30a3718562
parentdd668a7179b618310c592544de255dce3dba9ca3 (diff)
downloadtcl-4efb0e2c9411ff649b81a26e8a9e35f1266c9697.zip
tcl-4efb0e2c9411ff649b81a26e8a9e35f1266c9697.tar.gz
tcl-4efb0e2c9411ff649b81a26e8a9e35f1266c9697.tar.bz2
fix typo: 0,0 -> 0.0
-rw-r--r--libtommath/bn_mp_sqrt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtommath/bn_mp_sqrt.c b/libtommath/bn_mp_sqrt.c
index 8fa5ad0..3aa0f38 100644
--- a/libtommath/bn_mp_sqrt.c
+++ b/libtommath/bn_mp_sqrt.c
@@ -69,7 +69,7 @@ int mp_sqrt(mp_int *arg, mp_int *ret)
if (dig) {
t1.used = i+2;
d -= ldexp((double) dig, DIGIT_BIT);
- if (d != 0,0) {
+ if (d != 0.0) {
t1.dp[i+1] = dig;
t1.dp[i] = ((mp_digit) d) - 1;
} else {
@@ -126,5 +126,5 @@ E2: mp_clear(&t1);
/* $Source: /root/tcl/repos-to-convert/tcl/libtommath/bn_mp_sqrt.c,v $ */
/* Based on Tom's 1.3 */
-/* $Revision: 1.4 $ */
-/* $Date: 2006/12/01 00:31:32 $ */
+/* $Revision: 1.5 $ */
+/* $Date: 2006/12/01 05:48:23 $ */