diff options
author | kbk <kbk@noemail.net> | 2011-07-02 22:36:45 (GMT) |
---|---|---|
committer | kbk <kbk@noemail.net> | 2011-07-02 22:36:45 (GMT) |
commit | 17fe8298e125970af43035f7177c13e192afed57 (patch) | |
tree | cfb063e941efc61b9d4aaf5f1b223dae502e9b76 /libtommath | |
parent | 6df67af16fce94ddc8d5d6a706b046358b80b4b4 (diff) | |
parent | 2f572000ab74d449c9c69b70230a3e04dda068c9 (diff) | |
download | tcl-17fe8298e125970af43035f7177c13e192afed57.zip tcl-17fe8298e125970af43035f7177c13e192afed57.tar.gz tcl-17fe8298e125970af43035f7177c13e192afed57.tar.bz2 |
Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]
FossilOrigin-Name: fe4dba4d609fca67d2eefe030096f6cf04184895
Diffstat (limited to 'libtommath')
-rw-r--r-- | libtommath/bn_mp_cnt_lsb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_cnt_lsb.c b/libtommath/bn_mp_cnt_lsb.c index 6447a1f..f205e8c 100644 --- a/libtommath/bn_mp_cnt_lsb.c +++ b/libtommath/bn_mp_cnt_lsb.c @@ -20,7 +20,7 @@ static const int lnz[16] = { }; /* Counts the number of lsbs which are zero before the first zero bit */ -int mp_cnt_lsb(mp_int *a) +int mp_cnt_lsb(const mp_int *a) { int x; mp_digit q, qq; |