diff options
author | das <das@noemail.net> | 2006-12-01 05:48:22 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-12-01 05:48:22 (GMT) |
commit | 06815dc4c9f4d43c50b0fe7a6735cf000aca83ef (patch) | |
tree | b0d51317d16e555726ecf2b36e9f6e30a3718562 | |
parent | 046e26334f3c8a7d5ce0dcf3775bb1f449a40e56 (diff) | |
download | tcl-06815dc4c9f4d43c50b0fe7a6735cf000aca83ef.zip tcl-06815dc4c9f4d43c50b0fe7a6735cf000aca83ef.tar.gz tcl-06815dc4c9f4d43c50b0fe7a6735cf000aca83ef.tar.bz2 |
fix typo: 0,0 -> 0.0
FossilOrigin-Name: 1b5418df029af685d9c974cd796e6a159ea2356d
-rw-r--r-- | libtommath/bn_mp_sqrt.c | 6 |
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 $ */ |