summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
* Remove compat/stdint.h and compat/stdlib.h: All C-compilers nowadays have it.jan.nijtmans2023-06-262-11/+2
|
* Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-1/+1
| | | corrections in history.tcl and tcltest.test.
* Merge 8.6jan.nijtmans2022-04-282-4/+13
|\
| * Update libtommath to latest support/1.x branchjan.nijtmans2022-04-2814-18/+3011
| |\
| | * Merge libtommathjan.nijtmans2022-04-2814-18/+3011
| | |\
| | | * Take over recent commmits on the support/1.x branchjan.nijtmans2019-11-225-20/+20
| | | |
| | | * A few post-1.2.0 commits, extracted from support/1.x branchjan.nijtmans2019-11-0611-10/+3003
| | | |
* | | | Re-build zlib and libtommath for AMD64 and ARM64 to use the UCRT runtime ↵jan.nijtmans2022-02-144-0/+0
| | | | | | | | | | | | | | | | (with llvm-clang toolset)
* | | | Fix tommath.lib, which is missing some (deprecated) symbols.jan.nijtmans2022-02-142-0/+11
| | | |
* | | | Merge 8.6jan.nijtmans2022-02-142-0/+0
|\ \ \ \ | |/ / /
* | | | Add libtommath.dll and libtommath.dll.a for windows-arm64jan.nijtmans2022-02-132-0/+0
| | | |
* | | | Merge 8.6jan.nijtmans2022-02-121-1/+1
|\ \ \ \ | |/ / /
| * | | more tweaks for windows-arm64jan.nijtmans2022-02-111-1/+1
| | | |
* | | | Merge 8.6jan.nijtmans2022-02-091-0/+0
|\ \ \ \ | |/ / /
* | | | Fix build on Linux/Sparc with 32 bit userspace. See: ↵jan.nijtmans2021-07-141-1/+1
| | | | | | | | | | | | | | | | [https://github.com/libtom/libtommath/issues/509] for the upstream libtommath fix
* | | | Merge 8.6jan.nijtmans2021-06-091-0/+1
|\ \ \ \ | |/ / /
| * | | Fix compiler warning seen with static builds (--disable-shared): ↵jan.nijtmans2021-06-091-0/+1
| | | | | | | | | | | | | | | | "FLT_RADIX" is not defined, evaluates to 0 [-Wundef]
* | | | Further elimination of __int64 typejan.nijtmans2020-12-171-37/+8
| | | |
* | | | Merge 8.6jan.nijtmans2020-06-221-1/+1
|\ \ \ \ | |/ / /
| * | | 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.
* | | | Merge 8.7jan.nijtmans2020-02-131-4/+0
|\ \ \ \
| * | | | tommath_private.h : Remove special C4146 handling: already done in ↵jan.nijtmans2020-01-101-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | tclWinPort.h too. tcl.pc.in: Make sure that libtommath >= 1.2.0
| * | | | One #undef too muchjan.nijtmans2019-12-131-3/+0
| | | | |
* | | | | Merge 8.7 and (hopefully) fix Travis build with C++jan.nijtmans2019-12-132-2/+16
|\ \ \ \ \ | |/ / / /
| * | | | Don't export mp_sqr() directly from libtcljan.nijtmans2019-12-131-0/+5
| | | | |
| * | | | Optimize mp_mul for the case a==bjan.nijtmans2019-12-132-2/+7
|/ / / /
* | | | Implement TIP's #538: Externalize libtommathjan.nijtmans2019-12-1336-115/+233
|\ \ \ \
| | \ \ \
| | \ \ \
| *-. \ \ \ Merge 8.7, and take over some fixes for VC++ 6.0 from Sebres.jan.nijtmans2019-11-271-5/+5
| |\ \ \ \ \ | |_|/ / / / |/| | | | |
| | * | | | fixes compile errors for old VC versions, as well as tommath include path, ↵sergey.brester2019-11-271-17/+17
| |/ / / / | | | | | | | | | | | | | | | there are two files with this name and wrapper "generic/tommath.h" gets included, but "libtommath/tommath.h" is never included, because did not addressed directly with this name (first from path wins).
| * | | | Undo minor tweak, no longer necessaryjan.nijtmans2019-11-221-1/+1
| | | | |
| * | | | Merge 8.7, and update to latest libtommath (support/1.x branch)jan.nijtmans2019-11-2225-50/+74
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Update makefile.vc and rules.vc for using libtommath.dll/zlib1.dll in stead ↵jan.nijtmans2019-11-181-0/+2
| | | | | | | | | | | | | | | | | | | | of statically linking libtommath, whenever possible.
| * | | | Merge 8.7. Finish implementation.jan.nijtmans2019-11-121-1/+21
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Merge 8.7jan.nijtmans2019-11-112-2/+8
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Fix travis build win32, 32-bit mingwjan.nijtmans2019-11-082-0/+0
| | | | |
| * | | | More WIP: All makefile builds appear to work fine, makefile.vc build still ↵jan.nijtmans2019-11-058-46/+72
| | | | | | | | | | | | | | | | | | | | to be done.
| * | | | Add compat/stdint.h, upgrade to libtommath 1.2.0, adapt as much as possible ↵jan.nijtmans2019-11-018-24/+65
| | | | | | | | | | | | | | | | | | | | accordingly (still WIP)
| * | | | Re-base to core-8-branchjan.nijtmans2019-11-015-0/+0
| |\ \ \ \
| | * \ \ \ Merge 8.7. Complete implementation for MSVC and for UNIX.jan.nijtmans2019-04-092-0/+0
| | |\ \ \ \
| | * \ \ \ \ Merge 8.7. Intended operation completed for mingw-w64 (but not yet for other ↵jan.nijtmans2019-04-089-16/+29
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | compilers/platforms)
| | * | | | | Merge 8.7. Add checks for libtommath library to configure script (experimental)jan.nijtmans2019-04-0614-72/+62
| | |\ \ \ \ \ | | | |/ / / /
| | * | | | | Merge 8.7 jan.nijtmans2019-04-041-68/+4
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | Undo Tcl-specific changes in bn_mp_sqrt.c, and re-enable the two disabled test-cases: This proves the observed crash with DIBIT_BIT=60 is caused by those Tcl-specific changes!
| | * | | | | | More complete typedef for mp_word, for MP_8BIT and MP_16BIT as well.jan.nijtmans2019-03-281-2/+6
| | | | | | | |
| | * | | | | | Experiment: On platforms which support it (gcc), compiled libtommath with ↵jan.nijtmans2019-03-282-5/+9
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | DIGIT_BIT=60
* | | | | | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵jan.nijtmans2019-11-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt
* | | | | | | Deprecate mp_div_3(): Will be private function in future libtommath, not ↵jan.nijtmans2019-11-071-1/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | used in Tcl. Deprecate mp_sqr() stub entry: Will be converted to macro calling mp_mul().
* | | | | | Merge 8.6jan.nijtmans2019-10-301-3/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
* | | | | | 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.