Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of "register" keyword, forbidden in c++20. | jan.nijtmans | 2020-11-26 | 1 | -2/+2 |
| | | | Fix some more warnings, discovered in c20/c++20 mode | ||||
* | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53]. | dgp | 2020-04-13 | 1 | -3/+3 |
|\ | |||||
| * | Guarantee TclNeedSpace and TclFindElement have common definition of whitespace | dgp | 2020-04-09 | 1 | -3/+3 |
| | | | | | | | | by having both call the same routine. Create a macro form to contain performance costs and adapt callers. | ||||
* | | More uppercase HEX representations in source-code. | jan.nijtmans | 2020-03-18 | 1 | -23/+23 |
| | | |||||
* | | Better error-handling in some libtommath calls. | jan.nijtmans | 2020-01-23 | 1 | -2/+2 |
| | | |||||
* | | A few more "break" statements, so any compiler knows these are no ↵ | jan.nijtmans | 2020-01-15 | 1 | -0/+1 |
| | | | | | | | | FALLTHROUGH situations. | ||||
* | | Use _copysign on Windows always (available from float.h). Use mp_iszero() ↵ | jan.nijtmans | 2020-01-08 | 1 | -20/+14 |
|\ \ | |/ | | | | | whenever appropriate. | ||||
| * | Code cleanup (mostly comments, backported from 8.6). | jan.nijtmans | 2020-01-08 | 1 | -1035/+1040 |
| | | |||||
* | | Restore the build by providing a copysign replacement for old MSVC versions. | fvogel | 2020-01-02 | 1 | -0/+12 |
|\ \ | |/ | |||||
| * | Restore the build by providing a copysign replacement for old MSVC versions. | fvogel | 2020-01-02 | 1 | -0/+12 |
| | | |||||
* | | Merge Tcl 8.5 changes to deal with integer overflow in the exponent, and ↵ | Kevin B Kenny | 2019-12-27 | 1 | -36/+106 |
|\ \ | |/ | | | | | floating point overflow in the significand, of floating point input conversion (Bug [1de6b0629e] | ||||
| * | Add test cases that used to cause floating point overflow in computing the ↵ | Kevin B Kenny | 2019-12-26 | 1 | -31/+101 |
| | | | | | | | | correction term in floating point input conversion. Fix exponent overflow in floating point input conversion, and floating-point overflow in the significand in input conversion. | ||||
| * | Fix parsing bug when (numSigDigs == 0). | dgp | 2019-12-23 | 1 | -4/+4 |
| | | |||||
| * | Assign a double literal to a double variable. No point in requiring conversion. | dgp | 2019-12-22 | 1 | -1/+1 |
| | | |||||
* | | Change mp_isodd() (back) from libtommath stub entry to macro. libtommath ↵ | jan.nijtmans | 2019-10-30 | 1 | -13/+13 |
| | | | | | | | | | | changed it back to macro too in its master branch, we better do the same. Better usage of mp_isneg() macro, in stead of directly comparing sign with MP_NEG/MP_ZPOS. | ||||
* | | Put #define's in alphabetical order. | jan.nijtmans | 2019-10-25 | 1 | -13/+13 |
| | | | | | | | | Use MP_DIGIT_BIT in stead of (deprecated) DIGIT_BIT everywhere. (just code cleanup, nothing funcional) | ||||
* | | 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. | ||||
* | | 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.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. | ||||
* | | 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy. | jan.nijtmans | 2017-07-03 | 1 | -26/+26 |
| | | |||||
* | | 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) | ||||
* | | [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 | ||||
* | | Remove unused variable mantDIGIT. | dgp | 2012-06-05 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | Remove unused variable mantDIGIT. | dgp | 2012-06-05 | 1 | -3/+0 |
| | | |||||
* | | unused static array wtens | jan.nijtmans | 2011-09-06 | 1 | -9/+0 |
|\ \ | |/ | |||||
| * | unused static array wtens | jan.nijtmans | 2011-09-06 | 1 | -10/+0 |
| | | |||||
* | | 3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex). | dgp | 2011-09-01 | 1 | -0/+3 |
|\ \ | |/ | | | [scan Inf %g] is portable; remove constraint. | ||||
| * | 3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex) | dgp | 2011-09-01 | 1 | -0/+3 |
| | | | | | | [scan Inf %g] is portable; remove constraint. | ||||
| * | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2011-08-15 | 1 | -1/+1 |
| | | |||||
* | | * generic/tclAssemnbly.c: Plug another memory leak. [Bug 3384840] | Kevin B Kenny | 2011-08-06 | 1 | -0/+3 |
| | | | | | | | | * generic/tclStrToD.c: Plug another memory leak. [Bug 3386975] | ||||
* | | Plugged a memory leak in double->string | Kevin B Kenny | 2011-08-06 | 1 | -3/+2 |
|\ \ | |/ | | | conversion. [Bug 3386975] | ||||
| * | Plugged a memory leak in double->string | Kevin B Kenny | 2011-08-06 | 1 | -3/+2 |
| | | | | | | conversion. [Bug 3386975] | ||||
* | | Use Tcl_PrintfObj to generate more (complex) error messages. | dkf | 2011-08-05 | 1 | -4/+2 |
| | |