Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl | jan.nijtmans | 2016-11-18 | 2 | -1/+106 |
|\ | |||||
| * | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵ | jan.nijtmans | 2016-11-18 | 9 | -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.nijtmans | 2016-11-18 | 149 | -15323/+9276 |
|\ \ | |/ |/| | | | to 1.0 | ||||
| * | Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since ↵libtommath_1_0 | jan.nijtmans | 2016-11-17 | 1 | -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.nijtmans | 2016-11-17 | 1 | -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.nijtmans | 2016-11-17 | 1 | -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 commit | gahr | 2016-03-13 | 10 | -0/+755 |
| | | | |||||
| | * | [e6f27aa56f] Initial import of libtommath-1.0 | gahr | 2016-03-11 | 196 | -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.nijtmans | 2016-11-17 | 79 | -37631/+556 |
| |\ \ | | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c). | ||||
| * \ \ | (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵ | jan.nijtmans | 2016-11-16 | 157 | -9958/+17154 |
| |\ \ \ | | |_|/ | |/| | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it. | ||||
| | * | | import libtommath 1.0 | jan.nijtmans | 2016-11-16 | 179 | -16006/+23148 |
| | | | | |||||
| | * | | Import of tommath 0.42.0 | jan.nijtmans | 2011-03-14 | 148 | -856/+6520 |
| | | | | |||||
| | * | | Import of libtommath 0.41 | jan.nijtmans | 2011-03-14 | 17 | -552/+1138 |
| | | | | | | | | | | | | Import of libtommath 0.41 | ||||
| | * | | Import of libtommath 0.40 | jan.nijtmans | 2011-03-14 | 5 | -9/+17 |
| | | | | |||||
| | * | | re-import ltm-0.39, with original RCS-ID's | jan.nijtmans | 2011-03-14 | 139 | -537/+537 |
| | | | | |||||
| | * | | Import of libtommath 0.39+ | Kevin B Kenny | 2006-12-01 | 133 | -5198/+985 |
| | | | | |||||
| | * | | Import of libtommath 0.37 | Kevin B Kenny | 2005-12-27 | 17 | -394/+431 |
| | | | | |||||
| | * | | re-import of three damaged PDF's | Kevin B Kenny | 2005-09-26 | 3 | -0/+0 |
| | | | | |||||
| | * | | Import of libtommath 0.36 | Kevin B Kenny | 2005-09-26 | 156 | -445/+1587 |
| | | | | |||||
| | * | | Import of tommath 0.35 | Kevin B Kenny | 2005-04-10 | 68 | -4385/+6792 |
| | | | | |||||
| | * | | Import of libtommath 0.33 | Kevin B Kenny | 2005-01-19 | 200 | -0/+57261 |
| | / | |||||
* | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵ | jan.nijtmans | 2016-11-17 | 2 | -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.nijtmans | 2016-11-17 | 2 | -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.nijtmans | 2016-11-17 | 60 | -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 Kenny | 2011-07-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
* | | Apply non-comment changes to take our fork of libtommath up to tracking ↵ | dkf | 2011-03-14 | 9 | -21/+54 |
|\ \ | |/ | | | | | 0.42.0 from 0.39. | ||||
| * | Apply non-comment changes to take our fork of libtommath up to tracking 0.42.0 libtommath_merge_0_42_0 | dkf | 2011-03-14 | 9 | -21/+54 |
| | | | | | | from 0.39. | ||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 139 | -1054/+1 |
|\ \ | |/ | | | cause more harm than good. Purged them (except in zlib files). | ||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 139 | -1054/+1 |
| | | | | | | more harm than good. Purged them. | ||||
| * | Various trivial fixes, discovered during CYGWIN porting attempt. All ↵ | nijtmans | 2010-01-06 | 1 | -3/+3 |
| | | | | | | | | backported from trunk. | ||||
| * | * libtommath/bn_mp_sqrt.c (bn_mp_sqrt): Handle the case where | Kevin B Kenny | 2008-10-05 | 1 | -4/+21 |
| | | | | | | | | | | | | | | * tests/expr.test (expr-47.13): a number's square root is between n<<DIGIT_BIT and n<<DIGIT_BIT+1. [Bug 2143288] Thanks to Malcolm Boffey (malcolm.boffey@virgin.net) for the patch. | ||||
* | | CONSTify various useful internal functions | nijtmans | 2010-05-03 | 10 | -38/+38 |
| | | | | | | | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions. | ||||
* | | Use "tclIO.h" and "tclTomMathDecls.h" everywhere | nijtmans | 2010-05-03 | 1 | -30/+30 |
| | | |||||
* | | Make error message in "try" implementation | nijtmans | 2010-03-23 | 1 | -4/+4 |
| | | | | | | | | exactly the same as the one in "return" | ||||
* | | Fix gcc warning, using gcc-4.3.4 on cygwin | nijtmans | 2009-12-11 | 1 | -3/+3 |
| | | | | | | | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773] | ||||
* | | Fix gcc warning, using gcc-4.3.4 on cygwin | nijtmans | 2009-12-11 | 1 | -3/+3 |
| | | | | | | | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773] | ||||
* | | * libtommath/bn_mp_sqrt.c (bn_mp_sqrt): Handle the case where | Kevin B Kenny | 2008-10-05 | 1 | -4/+21 |
|/ | | | | | | | * tests/expr.test (expr-47.13): a number's square root is between n<<DIGIT_BIT and n<<DIGIT_BIT+1. [Bug 2143288] Thanks to Malcolm Boffey (malcolm.boffey@virgin.net) for the patch. | ||||
* | Fixed results of bollixed commit of libtommath 0.39 | Kevin B Kenny | 2006-12-01 | 4 | -167/+9 |
| | |||||
* | TIP#287 IMPLEMENTATION | dgp | 2006-12-01 | 1 | -2/+4 |
| | | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test: | ||||
* | fix typo: 0,0 -> 0.0 | das | 2006-12-01 | 1 | -3/+3 |
| | |||||
* | fix gcc warning: "suggest parentheses around comparison in operand of &" | das | 2006-12-01 | 1 | -3/+3 |
| | |||||
* | Upgrade to tommath 0.39 plus patches from Tom | Kevin B Kenny | 2006-12-01 | 10 | -22/+190 |
| | |||||
* | Import of libtommath 0.39+ | Kevin B Kenny | 2006-12-01 | 128 | -5183/+970 |
| | |||||
* | fixed bug in floating point initial approximation that caused convergence ↵ | Kevin B Kenny | 2006-11-30 | 1 | -4/+10 |
| | | | | failure | ||||
* | Merge changes | Kevin B Kenny | 2005-12-27 | 3 | -7/+11 |
| | |||||
* | Import of libtommath 0.37 | Kevin B Kenny | 2005-12-27 | 14 | -387/+418 |
| | |||||
* | Corrected bugs in tommath installation, improved tommath square root ↵ | Kevin B Kenny | 2005-12-27 | 1 | -8/+50 |
| | | | | performance, patched around a [clock scan] issue with time zones | ||||
* | TIP#237 IMPLEMENTATION | dgp | 2005-10-08 | 1 | -4/+5 |
| | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code. | ||||
* | merge tommath 0.36 changes into HEAD | Kevin B Kenny | 2005-09-26 | 5 | -26/+28 |
| | |||||
* | re-import of three damaged PDF's | Kevin B Kenny | 2005-09-26 | 3 | -0/+0 |
| |