summaryrefslogtreecommitdiffstats
path: root/libtommath/tommath.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-17 10:46:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-17 10:46:09 (GMT)
commitc011864b3411bd607efb52ffd86bb9b91e8e1bf3 (patch)
tree5ae27db53133eec3cea2523f3df4c28df354b71e /libtommath/tommath.h
parent68111aa5bf7fc228dcfda8beb9de265734925b56 (diff)
parent3dd86e6ebc0137c3a2c02d3a046de046571e3789 (diff)
downloadtcl-c011864b3411bd607efb52ffd86bb9b91e8e1bf3.zip
tcl-c011864b3411bd607efb52ffd86bb9b91e8e1bf3.tar.gz
tcl-c011864b3411bd607efb52ffd86bb9b91e8e1bf3.tar.bz2
Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function from libtommath 1.0 (in tclExecute.c).
Diffstat (limited to 'libtommath/tommath.h')
-rw-r--r--libtommath/tommath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index da0e473..3865949 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -62,7 +62,7 @@ extern "C" {
typedef signed long long long64;
#endif
- typedef uint64_t mp_digit;
+ typedef ulong64 mp_digit;
#if defined(_WIN32)
typedef unsigned __int128 mp_word;
#elif defined(__GNUC__)
@@ -84,7 +84,7 @@ extern "C" {
#endif
typedef uint32_t mp_digit;
- typedef uint64_t mp_word;
+ typedef ulong64 mp_word;
#ifdef MP_31BIT
/* this is an extension that uses 31-bit digits */
@@ -564,7 +564,7 @@ int mp_fwrite(mp_int *a, int radix, FILE *stream);
#define mp_tohex(M, S) mp_toradix((M), (S), 16)
#ifdef __cplusplus
-}
+ }
#endif
#endif