summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
* Merge latest 'const'ification changes from libtommath (develop branch, will ↵HEADmasterjan.nijtmans2017-10-035-7/+7
|\ | | | | | | be in next release). None of those are used in Tcl.
| * 'const'ify all libtommath functions, will appear in next libtommath version. ↵libtommathjan.nijtmans2017-10-0297-213/+215
| | | | | | | | See: pull request [https://github.com/libtom/libtommath/pull/88|88]
* | Make libtommath's "make" work in Tcl environment (for testing). Eliminate ↵jan.nijtmans2017-09-222-17/+9
| | | | | | | | internal s_is_power_of_two(), which can better be done inline. Fix tommath.h for _MSC_VER.
* | Move fast return from s_is_power_of_two() to mp_div_d(). This saves a ↵jan.nijtmans2017-09-201-8/+3
| | | | | | | | function call in the common case where b is not a power of 2.
* | Further astyle formatting of libtommath. No functional changes.jan.nijtmans2017-09-2049-112/+78
| |
* | Finish libtommath's constification work. All done (hopefully). And make sure ↵jan.nijtmans2017-09-188-15/+13
| | | | | | | | that C preprocessor directives have the '#' as first character on the line.
* | Another round of libtommath const'ification. To be submitted to the ↵jan.nijtmans2017-09-1837-80/+77
| | | | | | | | libtommath folks
* | Merge libtommath upstream changes (astyle formatting only). No functional ↵jan.nijtmans2017-09-18135-5705/+12115
|\ \ | |/ | | | | changes. All Tcl-specific modifications are kept.
| * re-format everything through astyle. Taken from libtom/libtommath (pull ↵jan.nijtmans2017-09-15129-5696/+5787
| | | | | | | | request [https://github.com/libtom/libtommath/pull/85|85])
| * Ignore libtommath/doc directory. Add some VS-related makefiles, useful for ↵jan.nijtmans2017-08-316-0/+6282
| | | | | | | | testing
* | 'const'ify more libtommath functions. All functions in ↵jan.nijtmans2017-09-1512-27/+29
| | | | | | | | generic/tclTomMath.decls (used by Tcl) are done now.
* | Many 'const' addtions in libtommath where it makes sense. To be submitted ↵jan.nijtmans2017-09-1127-58/+61
| | | | | | | | back to the libtommath guys.
* | Add some more functions from libtommath for availability within Tcl (mainly ↵jan.nijtmans2017-09-087-14/+14
| | | | | | | | the 'long long' variants). Add more 'const' keywords there too.
| |
| \
*-. \ Merge core-8-6-branch. Remove all git tag information for libtommath, so we ↵jan.nijtmans2017-08-31131-506/+387
|\ \ \ | | |/ | |/| | | | don't have useless file differences with every libtommath release.
| * | Undo tag removal (just get libtommath directly from GitHUB), so we don't ↵jan.nijtmans2017-08-31132-509/+390
| | | | | | | | | | | | have useless file changes with every new release
* | | Adapt libtommath's "changes.txt", and other text-files. Adapt ↵jan.nijtmans2017-08-308-9/+158
|\ \ \ | |/ / | | | | | | bn_mp_read_radix.c to latest libtommaths 'tcl-fixes' commit (harmless for Tcl).
| * | Cherry-pick ↵jan.nijtmans2017-08-3081-44141/+126
| | | | | | | | | | | | | | | | | | [https://github.com/libtom/libtommath/commit/a0a86c696a7182f8be4b10bb79a1c5c971dc9561]: Merge branch 'tcl-fixes' into develop Remove many files, which are not used in Tcl. Modify "changelog.txt", with real release-date of 1.0.1 version
* | | a few missing bits after previous commitjan.nijtmans2017-08-295-7089/+6914
|\ \ \ | |/ /
| * | Forgot a few files from libtommath 1.0.1jan.nijtmans2017-08-294-7087/+6912
| | |
* | | Merge libtommath 1.0.1 finallibtommath_1_0_1jan.nijtmans2017-08-29128-384/+384
|\ \ \ | |/ /
| * | libtommath 1.0.1jan.nijtmans2017-08-29128-384/+384
| | |
* | | libtommath 1.0.1 rc2, for test purposes onlyjan.nijtmans2017-08-29129-462/+478
|\ \ \ | |/ /
| * | Fix eol-style (fossil warning: mixed line endings)jan.nijtmans2017-08-292-10/+10
| | |
| * | libtommath 1.0.1 rc 2jan.nijtmans2017-08-29129-472/+492
| | |
* | | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcljan.nijtmans2016-11-182-1/+106
|\ \ \ | | |/ | |/|
| * | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵jan.nijtmans2016-11-189-8696/+1
| | | | | | | | | | | | missing "static" keywords in tclUnixNotfy.c. Remove some more files in libtommath directory which are not useful for Tcl.
* | | Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-18149-15323/+9276
|\ \ \ | |/ / |/| | | | | to 1.0
| * | Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since ↵libtommath_1_0jan.nijtmans2016-11-171-11/+2
| | | | | | | | | | | | the radix_size of "9" should return 2, not 3. Add test-case to prove that.
| * | Restore bn_mp_add_d.c to exact copy of libtommath-1.0 version: Since the ↵jan.nijtmans2016-11-171-3/+2
| | | | | | | | | | | | mp_clamp() function already restores the sign of it's argument to positive if c->used ==0, it is not necessary to do that twice. Therefore, the original version of the code is correct.
| * | Bring in fix for mp_iseven().... almost missed that .... This should be ↵jan.nijtmans2016-11-171-1/+1
| |\ \ | | | | | | | | | | | | given a dedicated test-case. Now everything taken from "gahr-ticket-e6f27aa56f" branch is handled.
| | * | [e6f27aa56f] Add files I missed in my previous commitgahr2016-03-1310-0/+755
| | | |
| | * | [e6f27aa56f] Initial import of libtommath-1.0gahr2016-03-11196-31819/+9930
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit brings in libtommath-1.0, as of tag v1.0 of the upstream repository at https://github.com/libtom/libtommath. Only the top-level directory has been imported: the demo, etc, logs, mtest, pics, pre_gen, and tombc directories have been removed from our repo. The stubs tables have been regenerated to accomodate for the new function: mp_expt_d_ex(mp_int *a, mp_digit b, mp_int *c, int fast); See https://github.com/libtom/libtommath/commit/e9b1837 for details. Only the unix build system has been modified for now. Windows and Mac OSX will come later.
| * | | Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-1779-37631/+556
| |\ \ \ | | | | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c).
| * \ \ \ (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-16157-9958/+17154
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/| between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
| | * | import libtommath 1.0jan.nijtmans2016-11-16179-16006/+23148
| | | |
| | * | Import of tommath 0.42.0jan.nijtmans2011-03-14148-856/+6520
| | | |
| | * | Import of libtommath 0.41jan.nijtmans2011-03-1417-552/+1138
| | | | | | | | | | | | Import of libtommath 0.41
| | * | Import of libtommath 0.40jan.nijtmans2011-03-145-9/+17
| | | |
| | * | re-import ltm-0.39, with original RCS-ID'sjan.nijtmans2011-03-14139-537/+537
| | | |
| | * | Import of libtommath 0.39+Kevin B Kenny2006-12-01133-5198/+985
| | | |
| | * | Import of libtommath 0.37Kevin B Kenny2005-12-2717-394/+431
| | | |
| | * | re-import of three damaged PDF'sKevin B Kenny2005-09-263-0/+0
| | | |
| | * | Import of libtommath 0.36Kevin B Kenny2005-09-26156-445/+1587
| | | |
| | * | Import of tommath 0.35Kevin B Kenny2005-04-1068-4385/+6792
| | | |
| | * | Import of libtommath 0.33 Kevin B Kenny2005-01-19200-0/+57261
| | /
* | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-172-16/+14
|\ \ \ | |_|/ |/| | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| * | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-172-16/+14
| | | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
* | | Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-1760-23840/+0
| |/ |/| | | | | not taking any part in the Tcl build. Makes the Tcl distribution smaller without sacrificing anything.
* | Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-1/+1
|\ \ | |/
* | Apply non-comment changes to take our fork of libtommath up to tracking ↵dkf2011-03-149-21/+54
|\ \ | |/ | | | | 0.42.0 from 0.39.