Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2019-06-15 | 1 | -4/+4 |
|\ | |||||
| * | Merge 8.5 | jan.nijtmans | 2019-06-15 | 1 | -4/+4 |
| |\ | |||||
| | * | Use mp_init_set() in stead of mp_init_set_int() when the constant is ↵ | jan.nijtmans | 2019-06-15 | 1 | -4/+4 |
| | | | | | | | | | | | | sufficiently small. This is slightly better optimized. | ||||
| | * | Update some libtommath functions to the latest trunk versions. Small step ↵ | jan.nijtmans | 2019-05-29 | 1 | -26/+26 |
| | | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2019-05-31 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵ | jan.nijtmans | 2019-05-31 | 1 | -1/+1 |
| | | | | | | | | | | | | 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.6 | jan.nijtmans | 2019-05-14 | 1 | -15/+15 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5 | jan.nijtmans | 2019-05-14 | 1 | -15/+15 |
| |\ \ | | |/ | |||||
| | * | DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future ↵ | jan.nijtmans | 2019-05-14 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | libtommath versions. So, better stop using it at all. Also add some other defines/typdefs for future libtommath compatibility. | ||||
| * | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵ | jan.nijtmans | 2019-03-25 | 1 | -3/+3 |
| | | | | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes. | ||||
* | | | Eliminate usage of mp_isneg(), just check bignum->sign directly (as ↵ | jan.nijtmans | 2019-03-15 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | libtommath itself does) Make TclInitBugnumFromLong() a static function in stubtable only, as it isn't used by Tcl anymore. | ||||
* | | | Use mp_get_bit() instead of mp_iseven()/mp_isodd(): Those latter functions ↵ | jan.nijtmans | 2019-03-08 | 1 | -1/+1 |
| | | | | | | | | | | | | are macro's currently, but will be real function in next libtommath. Bad idea for Tcl to depend on ... | ||||
* | | | Various tommath/numeric related optimizations: | jan.nijtmans | 2019-03-02 | 1 | -93/+45 |
| | | | | | | | | | | | | - Remove the DD_STEEL formatter: it isn't used anywhere in Tcl, and not recommended. - Remove double limit-checks, which are already done inside mp_to_unsigned_bin_n() | ||||
* | | | More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob | jan.nijtmans | 2019-03-01 | 1 | -2/+2 |
| | | | |||||
* | | | Fix "executable" flag for many files (now really!) | jan.nijtmans | 2018-11-07 | 1 | -0/+0 |
| | | | |||||
* | | | Implement TIP 445 | dkf | 2018-11-06 | 1 | -0/+0 |
| | | | |||||
* | | | General code style cleanup. | dkf | 2018-05-13 | 1 | -2/+2 |
| | | | |||||
* | | | Use mp_isneg() in stead of mp_cmp_d() when the output of this function is ↵ | jan.nijtmans | 2018-02-27 | 1 | -2/+2 |
| | | | | | | | | | | | | simply compared with MP_LT. | ||||
* | | | Rebase back to 8.7 (core-8-branch), since that's what the TIP is meant for. ↵ | jan.nijtmans | 2017-11-09 | 1 | -1/+64 |
|\ \ \ | | | | | | | | | | | | | (I see no reason to wait for 9.0) | ||||
* \ \ \ | merge trunk | dgp | 2017-11-09 | 1 | -64/+1 |
|\ \ \ \ | |||||
| * | | | | Implementation branch for TIP 114 - Eliminate Octal Parsing... | dgp | 2017-10-23 | 1 | -64/+1 |
| |/ / / | |||||
* | | | | More code simplifications, with still equal functionality. | jan.nijtmans | 2017-11-07 | 1 | -34/+6 |
| | | | | |||||
* | | | | Finally, get rid of tclWideIntType completely | jan.nijtmans | 2017-11-01 | 1 | -2/+2 |
| | | | | |||||
* | | | | Experimental branch meant to eliminate the "wideint" type, just merge it to ↵ | jan.nijtmans | 2017-10-30 | 1 | -4/+4 |
|/ / / | | | | | | | | | | a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing. | ||||
* | | | Make mp_get_long and mp_set_long available to tommath-enabled Tcl ↵ | jan.nijtmans | 2017-09-13 | 1 | -16/+16 |
| | | | | | | | | | | | | extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose. | ||||
* | | | merge core-8-6-branch | jan.nijtmans | 2017-07-03 | 1 | -26/+26 |
|\ \ \ | |/ / | |||||
| * | | 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy. | jan.nijtmans | 2017-07-03 | 1 | -26/+26 |
| | | | |||||
* | | | TIP #472 implementation: Add Support for 0d Radix Prefix to Integer Literals | jan.nijtmans | 2017-06-23 | 1 | -1/+16 |
|\ \ \ | |||||
| * \ \ | Merge core-8-6-branch. | jan.nijtmans | 2017-06-15 | 1 | -1/+2 |
| |\ \ \ | | |/ / | | | | | | | | | Fix gcc warning: tclStrToD.c:1180:2: warning: enumeration value ‘ZERO_D’ not handled in switch [-Wswitch] switch (acceptState) { | ||||
| * | | | Rebase to core-8-6-branch (who told that fossil doesn't know how to rebase ....) | jan.nijtmans | 2017-06-14 | 1 | -1/+15 |
| |\ \ \ | |||||
| | * | | | Implement proposed 0d decimal radix prefix to compliment 0x,0b,0o. | griffin | 2017-05-27 | 1 | -1/+15 |
| | | | | | |||||
* | | | | | merge core-8-6-branch | jan.nijtmans | 2017-06-15 | 1 | -1/+1 |
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | |||||
| * | | | Make panic in TclParseNumber() work when IEEE_FLOATING_POINT is not defined. | jan.nijtmans | 2017-06-15 | 1 | -1/+1 |
| |/ / | |||||
* | | | In comments and documentation, distinguish between __int64 (a Microsoft ↵ | jan.nijtmans | 2017-03-29 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | 64-bit integer type) and int64_t (C99 equivalent) | ||||
| * | | In comments and documentation, distinguish between __int64 (a Microsoft ↵ | jan.nijtmans | 2017-03-29 | 1 | -2/+2 |
| | | | | | | | | | | | | 64-bit integer type) and int64_t (C99 equivalent) | ||||
* | | | Fix for Ticket [71c0878b71] + test cases | avl | 2017-03-05 | 1 | -1/+1 |
| | | | |||||
* | | | Shortcut in TclParseNumber(): If obj is a dict or list, don't bother to ↵ | jan.nijtmans | 2017-02-08 | 1 | -10/+17 |
|/ / | | | | | | | | | | | generate the string representation if we know already beforehand that the parsing will fail. Use TCL_NO_DEPRECATED in stead of KILL_OCTAL for removing the (deprecated un-prefixed) octal support. Adapt test-cases, so they work without octal support as well. | ||||
* | | [be003d570f] TclParseNumber() failed to fully implement TCL_PARSE_BINARY_ONLY. | dgp | 2016-10-12 | 1 | -1/+1 |
| | | |||||
* | | [be003d570f] TclParseNumber() failed to fully implement TCL_PARSE_OCTAL_ONLY. | dgp | 2016-10-12 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | [be003d570f] TclParseNumber() failed to fully implement TCL_PARSE_OCTAL_ONLY. | dgp | 2016-10-12 | 1 | -0/+6 |
| | | |||||
| * | RefineApproximation() leaked twoMv and twoMd in one of its exits. | dgp | 2016-01-28 | 1 | -0/+2 |
| | | |||||
* | | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -99/+99 |
| | | |||||
* | | Plug leak of two mp_ints. | dgp | 2015-07-02 | 1 | -0/+2 |
| | | |||||
* | | Silence compiler warning. | dgp | 2015-06-24 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Make sure that an input lying precisely 1/2 ULP between two floating point ↵ | dgp | 2015-06-24 | 1 | -8/+30 |
| | | | | | | | | values is rounded to even. | ||||
* | | Make sure that an input lying precisely 1/2 ULP between two floating point ↵ | Kevin B Kenny | 2015-06-20 | 1 | -8/+31 |
| | | | | | | | | values is rounded to even. | ||||
* | | Fix execute permission on many files which shouldn't have it. | jan.nijtmans | 2013-10-17 | 1 | -0/+0 |
|\ \ | |/ | |||||
| * | Fix execute permission on many files which shouldn't have it. | jan.nijtmans | 2013-10-17 | 1 | -0/+0 |
| | | |||||
* | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵ | jan.nijtmans | 2013-04-23 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG |