diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-23 14:11:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-10-23 14:11:37 (GMT) |
commit | b986f3138510aaaf704b87f39e2815ad6e3fa5ac (patch) | |
tree | a7fe057b8928510736187536bd43ec265f28287b /generic/tclStrToD.c | |
parent | 6b002a2d06574c33145c29bd823886ef719e2f7c (diff) | |
download | tcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.zip tcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.tar.gz tcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.tar.bz2 |
Deprecate mp_unsigned_bin_size, mp_init_set_int, mp_set_int, which are deprecated in libtommath 1.2.0.
In stead, add new function mp_set_ul to the build (mp_ubin_size was already included in the build earlier)
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r-- | generic/tclStrToD.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 00ac3dc..cb55e14 100644 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -4385,7 +4385,7 @@ TclInitDoubleConversion(void) for (i=0; i<8; ++i) { mp_sqr(pow5+i, pow5+i+1); } - mp_init_set_int(pow5_13, 1220703125); + mp_init_ul(pow5_13, 1220703125); for (i = 1; i < 5; ++i) { mp_init(pow5_13 + i); mp_sqr(pow5_13 + i - 1, pow5_13 + i); |