Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [ff658e10fc]: tip 551 in 8.7a4 0b1111_1111 not working. Also fix some ↵ | jan.nijtmans | 2021-01-15 | 1 | -9/+11 |
| | | | | indenting in code | ||||
* | Make tclStrToD.c compile on systems without inttypes.h | jan.nijtmans | 2021-01-11 | 1 | -0/+5 |
| | |||||
* | Make Tcl independent from exact definition of TCL_LL_MODIFIER. In ↵ | jan.nijtmans | 2021-01-11 | 1 | -5/+5 |
| | | | | tclStrToD.c we need an _exact_ 64-bit type, _at least_ 64-bit is not good enough here. | ||||
* | Omit -Wdeclaration-after-statement from CFLAGS: No longer needed since we ↵ | jan.nijtmans | 2021-01-08 | 1 | -4/+4 |
| | | | | | stopped support for MSVC 6++ Change Tcl_WideInt -> long long in various places: Tcl_WideInt could be a 128-bit type, we don't want that everywhere. | ||||
* | Revise UWIDE_MAX and friends | jan.nijtmans | 2021-01-07 | 1 | -5/+5 |
| | |||||
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵ | jan.nijtmans | 2020-12-08 | 1 | -1/+1 |
| | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet | ||||
* | Merge 8.6 | jan.nijtmans | 2020-11-26 | 1 | -2/+2 |
|\ | |||||
| * | 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.6 | jan.nijtmans | 2020-06-04 | 1 | -2/+2 |
|\ \ | |/ | |||||
* | | tip-551 implementation. | griffin | 2020-05-30 | 1 | -6/+87 |
|\ \ | |||||
| * | | Update for TIP-551: | griffin | 2020-05-23 | 1 | -14/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for this feature to the expr man page. The keyword "integer value" has been added to the string and expr man page. Added TCL_PARSE_NO_UNDERSCORE flag so that the digit separator can be disabled when need when calling TclParseNumber. Disabled digit separator in the "scan" command when scanning integers and floating-point numbers. This is the one place where existing code may rely on number parsing to stop at an underscore. Disallow underscore between the leading 0 and the radix specifiers 'x', 'o', 'b', and 'd'. Added tests for disallowed underscore use and scan with underscores between digits in the source string. | ||||
| * | | Initial implementation for TIP-551 Permit underscores in numeric literals | griffin | 2019-12-07 | 1 | -4/+83 |
| | | | |||||
* | | | Merge 8.6 | jan.nijtmans | 2020-04-14 | 1 | -3/+3 |
|\ \ \ | | |/ | |/| | |||||
| * | | 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. | ||||
* | | | | Merge 8.6 | jan.nijtmans | 2020-03-18 | 1 | -23/+23 |
|\ \ \ \ | |/ / / | |||||
| * | | | 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. | ||||
* | | | | More TCL_UNUSED | dgp | 2020-03-09 | 1 | -12/+6 |
| | | | | |||||
* | | | | Merge 8.7 | jan.nijtmans | 2020-02-13 | 1 | -206/+370 |
|\ \ \ \ | |||||
| * \ \ \ | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵ | jan.nijtmans | 2020-02-02 | 1 | -4/+8 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/473] | ||||
| | * | | | | Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in ↵ | jan.nijtmans | 2020-01-13 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | the definition of mp_int. See: [https://github.com/libtom/libtommath/pull/473] | ||||
| * | | | | | Merge 8.7. All calls using MP_WUR handled now. | jan.nijtmans | 2020-01-22 | 1 | -47/+84 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | Merge 8.7, more WIP | jan.nijtmans | 2020-01-21 | 1 | -32/+63 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | Merge 8.7, more WIP | jan.nijtmans | 2020-01-17 | 1 | -48/+90 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | More WIP | jan.nijtmans | 2020-01-10 | 1 | -24/+41 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | Start handling WUR (Warn Unused Result) in all tommath calls. WIP, not ↵ | jan.nijtmans | 2020-01-09 | 1 | -44/+83 |
| |/ / / / | | | | | | | | | | | | | | | | complete yet. | ||||
| * | | | | Merge 8.6 | jan.nijtmans | 2020-01-08 | 1 | -14/+8 |
| |\ \ \ \ | | |/ / / | |||||
| | * | | | 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 |
| | | | | | |||||
* | | | | | Merge 8.7 | jan.nijtmans | 2020-01-07 | 1 | -36/+119 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Some eol whitespace eliminations | jan.nijtmans | 2020-01-07 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | 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 |
| | |\ \ \ | | | |/ / | |||||
| | | * | | Restore the build by providing a copysign replacement for old MSVC versions. | fvogel | 2020-01-02 | 1 | -0/+12 |
| | | | | | |||||
| * | | | | Merge Tcl 8.6 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] | ||||
| | * | | | 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 |
| | | | | | |||||
| * | | | | Add FALLTHRU markers, eliminating gcc warning using -Wextra | jan.nijtmans | 2019-12-24 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Merge 8.7 | jan.nijtmans | 2019-12-13 | 1 | -22/+22 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Merge 8.7. ignore MP_WUR for mp_neg() calls with equal arguments (even ↵ | jan.nijtmans | 2019-11-18 | 1 | -2/+2 |
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | though MP_WUR is not enabled yet) | ||||
| * | | | | Merge 8.7. Finish implementation. | jan.nijtmans | 2019-11-12 | 1 | -19/+19 |
| |\ \ \ \ | | |/ / / | |||||
| * | | | | Merge 8.7 | jan.nijtmans | 2019-11-11 | 1 | -16/+16 |
| |\ \ \ \ | | |/ / / | |||||
| * | | | | Re-base to core-8-branch | jan.nijtmans | 2019-11-01 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| | * | | | | Merge 8.7. Complete implementation for MSVC and for UNIX. | jan.nijtmans | 2019-04-09 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge 8.7 | jan.nijtmans | 2019-11-09 | 1 | -16/+16 |
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | |||||
| * | | | | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵ | jan.nijtmans | 2019-11-08 | 1 | -16/+16 |
| |/ / / / | | | | | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt |