summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-15 22:33:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-15 22:33:10 (GMT)
commitebf5e0545e4d6b3a3ea8a9b1eb2da562e0092df6 (patch)
tree71c9b6b65f5f6370fb51610cd71393843cfa22ce /generic/tclStrToD.c
parentaa443ce8d55f84fa49eb9c6272005383df882681 (diff)
parent96f1d4ec345c2fa7ab4ff6c4840c4dab2392cc53 (diff)
downloadtcl-ebf5e0545e4d6b3a3ea8a9b1eb2da562e0092df6.zip
tcl-ebf5e0545e4d6b3a3ea8a9b1eb2da562e0092df6.tar.gz
tcl-ebf5e0545e4d6b3a3ea8a9b1eb2da562e0092df6.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index b160d9e..fd87446 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -3268,7 +3268,7 @@ ShorteningBignumConversionPowD(
*/
TclInitBignumFromWideUInt(&b, bw);
- mp_init_set_int(&mminus, 1);
+ mp_init_set(&mminus, 1);
MulPow5(&b, b5, &b);
mp_mul_2d(&b, b2, &b);
@@ -3653,7 +3653,7 @@ ShorteningBignumConversion(
TclInitBignumFromWideUInt(&b, bw);
mp_mul_2d(&b, b2, &b);
- mp_init_set_int(&S, 1);
+ mp_init_set(&S, 1);
MulPow5(&S, s5, &S); mp_mul_2d(&S, s2, &S);
/*
@@ -3671,7 +3671,7 @@ ShorteningBignumConversion(
* mminus = 2**m2minus * 5**m5
*/
- mp_init_set_int(&mminus, minit);
+ mp_init_set(&mminus, minit);
mp_mul_2d(&mminus, m2minus, &mminus);
if (m2plus > m2minus) {
mp_init_copy(&mplus, &mminus);
@@ -3862,7 +3862,7 @@ StrictBignumConversion(
mp_init_multi(&dig, NULL);
TclInitBignumFromWideUInt(&b, bw);
mp_mul_2d(&b, b2, &b);
- mp_init_set_int(&S, 1);
+ mp_init_set(&S, 1);
MulPow5(&S, s5, &S); mp_mul_2d(&S, s2, &S);
/*