summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Don't typedef mp_digit in tcl.h anymore, it is supposed to be brought in ↵jan.nijtmans2019-10-281-2/+3
| | | | | | | | | | | | | | | | | | | | from tclTomMath.h. Add test in configure scripts for <stdint.h> and <stdbool.h>. Not used by Tcl yet, probably handy for TEA extensions wanting to use that ;-)
* | | | More code cleanup related to libtommath 1.2.0: Adapt naming of (internal) ↵jan.nijtmans2019-10-2510-99/+42
| | | | | | | | | | | | | | | | symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl.
* | | | Merge 8.6. jan.nijtmans2019-10-251-5/+5
|\ \ \ \ | |/ / / | | | | Also remove unused variable in unix/tclUnixFile.c
| * | | Put #define's in alphabetical order. jan.nijtmans2019-10-251-5/+5
| | | | | | | | | | | | | | | | Use MP_DIGIT_BIT in stead of (deprecated) DIGIT_BIT everywhere. (just code cleanup, nothing funcional)
* | | | Merge 8.6.jan.nijtmans2019-10-231-0/+3
|\ \ \ \ | |/ / / | | | | Also unbreak windows build, broken since [0f2870649c804dd8].
| * | | Extend libtommath stub table, so extension writers can move away from ↵jan.nijtmans2019-10-231-0/+3
| | | | | | | | | | | | | | | | deprecated libtommath functions.
* | | | Merge 8.6jan.nijtmans2019-10-22203-6635/+6320
|\ \ \ \ | |/ / /
| * | | Merge libtommath 1.2.0jan.nijtmans2019-10-221-1/+1
| |\ \ \
| | * \ \ Merge libtommath 1.2.0jan.nijtmans2019-10-221-1/+1
| | |\ \ \
| | | * | | Update libtommath to v1.2.0jan.nijtmans2019-10-221-1/+1
| | | | | |
| * | | | | Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| | |\ \ \ \ | | | |/ / /
| | | * | | Update libtommath to v1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| | | | | |
| * | | | | Merge latest libtommath changes (will be release 1.2.0)jan.nijtmans2019-10-186-11/+13
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge libtommathjan.nijtmans2019-10-186-11/+13
| | |\ \ \ \ | | | |/ / /
| | | * | | update libtommath to v1.2.0-rc2, with a few additional fixes.jan.nijtmans2019-10-186-11/+13
| | | | | |
| * | | | | Merge some libtommath changes (mainly additon of MP_CALLOC)jan.nijtmans2019-10-177-23/+17
| |\ \ \ \ \ | | |/ / / /
| | * | | | Put back MP_CALLOC, since it's going to stay in libtommathjan.nijtmans2019-10-178-23/+19
| | | | | |
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Update to latest Tcl (core-8-6-branch) and latest libtommath (1.2.0-rc1)jan.nijtmans2019-10-1774-1802/+1405
| |\ \ \ \ \ \ | | | |/ / / /
| | | * | | | Merge libtommathjan.nijtmans2019-10-1777-1789/+1395
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Update libtommath to v1.2.0-rc1jan.nijtmans2019-10-1726-342/+436
| | | | | | |
| | | | * | | Sync with libtommath's "develop" againjan.nijtmans2019-10-075-20/+44
| | | | | | |
| | | | * | | Update to latest "develop" branchjan.nijtmans2019-10-0767-1617/+1107
| | | | | | |
| | | | | | |
| | \ \ \ \ \
| *-. \ \ \ \ \ Merge core-8-6-branch, and merge latest libtommathjan.nijtmans2019-07-2828-180/+209
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| / / / / | | | |/ / / /
| | | * | | | Merge libtommathjan.nijtmans2019-07-2628-179/+210
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Update to latest "develop" branch of libtommathjan.nijtmans2019-07-2613-143/+163
| | | | | | |
| | | | | | |
| | \ \ \ \ \
| *-. \ \ \ \ \ Merge latest libtommath and 8.6jan.nijtmans2019-07-0539-176/+440
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| / / / / | | | |/ / / /
| | | * | | | Merge libtommathjan.nijtmans2019-07-0539-176/+440
| | | |\ \ \ \ | | | | |/ / /
| | | | * | | Update to latest "develop" branch of libtommathjan.nijtmans2019-07-0534-163/+425
| | | | | | |
| * | | | | | VC++ 6.0 doesn't know the uLL number postfixjan.nijtmans2019-06-303-4/+4
| | | | | | |
| * | | | | | Eliminate some more instances of "long long", for VC++ 6.0jan.nijtmans2019-06-301-3/+3
| | | | | | |
| * | | | | | Latest libtommath's "develop" branch adapted for Tcl 8.6. And Tcl 8.6 ↵jan.nijtmans2019-06-14175-5324/+5131
| |\ \ \ \ \ \ | | |/ / / / / | |/| / / / / | | |/ / / / adapted for changes in libtommath
| | * | | | Merge libtommathjan.nijtmans2019-06-13186-27442/+5309
| | |\ \ \ \ | | | |/ / /
| | | * | | Update to latest libtommath's "develop" branch. On the way to 1.2.0jan.nijtmans2019-06-13186-27442/+5309
| | | | | |
| | * | | | Eliminate use of int32_t (doesn't work on MSVC++ 6.0)jan.nijtmans2019-04-101-1/+1
| | | | | |
* | | | | | Merge 8.6. Also fix mp_get_long_long for VC++ 6.0 (will be deprecated by ↵jan.nijtmans2019-06-251-2/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | libtommath)
* | | | | | Merge 8.6jan.nijtmans2019-05-319-372/+58
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵jan.nijtmans2019-05-319-372/+58
| | | | | | | | | | | | | | | | | | | | | | | | remove mp_tc_(add|or|xor) functions in favor of mp_(add|or|xor) which can now handle twos-complement. Following ongoing changes in libtommath development.
* | | | | | Merge 8.6jan.nijtmans2019-05-296-164/+143
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 8.5jan.nijtmans2019-05-296-164/+143
| |\ \ \ \ \
| | * | | | | Update some libtommath functions to the latest trunk versions. Small step ↵jan.nijtmans2019-05-297-382/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions.
* | | | | | | Merge 8.6jan.nijtmans2019-05-281-21542/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 8.5jan.nijtmans2019-05-281-21542/+0
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Eliminate a set of libtommath-related files that don't do anything. There's ↵jan.nijtmans2019-05-2872-44659/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | no sense in it, keeping track of those files in the Tcl repository.
| | * | | | | DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future ↵jan.nijtmans2019-05-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libtommath versions. So, better stop using it at all. Also add some other defines/typdefs for future libtommath compatibility.
| | * | | | | cherry-pick [3e4d907d8e] from 8.6: prevent buffer overrun in ↵sebres2019-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fast_s_mp_mul_digs().
* | | | | | | Merge 8.6jan.nijtmans2019-04-112-9/+17
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | |
| * | | | | Only use special mp_sqrt() code when double format/tommath format are ↵jan.nijtmans2019-04-112-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exactly what's expected. Otherwise, use original always-working tommath code. Simplify overflow check in bignum expononent code, not using bignums where it's not necessary. Don't overallocate bignums when using wideint's only.
* | | | | | Merge 8.6jan.nijtmans2019-04-0514-72/+62
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Take over recent improvements from libtommath after version 1.1.0.jan.nijtmans2019-04-0515-90/+63
| |\ \ \ \ | | | |/ / | | |/| |