summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
* 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 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.
| * Apply non-comment changes to take our fork of libtommath up to tracking 0.42.0 libtommath_merge_0_42_0dkf2011-03-149-21/+54
| | | | | | from 0.39.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-02139-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 causedgp2011-03-02139-1054/+1
| | | | | | more harm than good. Purged them.
| * Various trivial fixes, discovered during CYGWIN porting attempt. All ↵nijtmans2010-01-061-3/+3
| | | | | | | | backported from trunk.
| * * libtommath/bn_mp_sqrt.c (bn_mp_sqrt): Handle the case whereKevin B Kenny2008-10-051-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 functionsnijtmans2010-05-0310-38/+38
| | | | | | | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions.
* | Use "tclIO.h" and "tclTomMathDecls.h" everywherenijtmans2010-05-031-30/+30
| |
* | Make error message in "try" implementationnijtmans2010-03-231-4/+4
| | | | | | | | exactly the same as the one in "return"
* | Fix gcc warning, using gcc-4.3.4 on cygwinnijtmans2009-12-111-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 cygwinnijtmans2009-12-111-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 whereKevin B Kenny2008-10-051-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.39Kevin B Kenny2006-12-014-167/+9
|
* TIP#287 IMPLEMENTATIONdgp2006-12-011-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.0das2006-12-011-3/+3
|
* fix gcc warning: "suggest parentheses around comparison in operand of &"das2006-12-011-3/+3
|
* Upgrade to tommath 0.39 plus patches from TomKevin B Kenny2006-12-0110-22/+190
|
* Import of libtommath 0.39+Kevin B Kenny2006-12-01128-5183/+970
|
* fixed bug in floating point initial approximation that caused convergence ↵Kevin B Kenny2006-11-301-4/+10
| | | | failure
* Merge changesKevin B Kenny2005-12-273-7/+11
|
* Import of libtommath 0.37Kevin B Kenny2005-12-2714-387/+418
|
* Corrected bugs in tommath installation, improved tommath square root ↵Kevin B Kenny2005-12-271-8/+50
| | | | performance, patched around a [clock scan] issue with time zones
* TIP#237 IMPLEMENTATIONdgp2005-10-081-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 HEADKevin B Kenny2005-09-265-26/+28
|
* re-import of three damaged PDF'sKevin B Kenny2005-09-263-0/+0
|
* Import of libtommath 0.36Kevin B Kenny2005-09-26153-434/+1562
|
* Fixes for C++-style comment and bad NaN on PA-RISCKevin B Kenny2005-05-101-1/+1
|
* committed local libtommath changes from kennykb-numerics-branch back to the ↵Kevin B Kenny2005-05-103-3/+19
| | | | Tcl HEAD
* Import of tommath 0.35Kevin B Kenny2005-04-1075-4385/+7023
|
* Import of libtommath 0.33Kevin B Kenny2005-01-19192-0/+57026