summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
* Change all *.sln to CRLF format, so they are directly usable in Visual ↵jan.nijtmans2020-06-221-1/+1
| | | | Studio projects
* Make mp_mul(a,a,c) equivalent to mp_sqr(a,c). Optimization backported from ↵jan.nijtmans2019-11-071-1/+3
| | | | libtommath.
* 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)
* Extend libtommath stub table, so extension writers can move away from ↵jan.nijtmans2019-10-231-0/+3
| | | | deprecated libtommath functions.
* 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
| | |
* | | 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.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.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().
* | | | 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.
* | | | Take over recent improvements from libtommath after version 1.1.0.jan.nijtmans2019-04-0515-90/+63
|\ \ \ \ | | |/ / | |/| |
| * | | Merge libtommathjan.nijtmans2019-04-0516-93/+64
| |\ \ \ | | | |/ | | |/|
| | * | Take over improvements from libtommath's development branch (which will ↵jan.nijtmans2019-04-0516-93/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | appear in next version). - More efficient MP_SET_XLONG() macro. - New internal macro's IS_ZERO/IS_EVEN/IS_ODD - Changed signature for XMALLOC/XREALLOC/XFREE
| * | | Merge libtommath v1.1.0jan.nijtmans2019-01-2810-13/+958
| |\ \ \ | | |/ /
| | * | Update to libtommath v1.1.0jan.nijtmans2019-01-2810-13/+958
| | | |
| * | | Merge libtommath v1.1.0-rc4jan.nijtmans2019-01-22160-7488/+10560
| |\ \ \ | | |/ /
| | * | Update to libtommath v1.1.0-rc4jan.nijtmans2019-01-22160-7488/+10560
| | | |
| * | | Branch [https://github.com/libtom/libtommath/commits/no-stdint-h] from ↵jan.nijtmans2018-10-233-11/+10
| |/ / | | | | | | | | | libtommath, by karel-m.
| * | Update libtommath to latest "develop" branchjan.nijtmans2018-10-22145-717/+1216
| | |
| * | Lots of code cleanup, mainly ↵jan.nijtmans2018-03-0183-314/+365
| | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/102|Pull request #102]