summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
Commit message (Collapse)AuthorAgeFilesLines
* tip-551 implementation.griffin2020-05-311-6/+83
|\
| * tip-551 implementation.griffin2020-05-301-6/+87
| |\
| | * Update for TIP-551: griffin2020-05-231-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 literalsgriffin2019-12-071-4/+83
| | |
* | | Merge 8.7jan.nijtmans2020-04-141-3/+3
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-04-141-3/+3
| |\ \
| | * \ Merge 8.5. Failing tests highlight ticket [1b1f5f0b53].dgp2020-04-131-3/+3
| | |\ \
| | | * | Guarantee TclNeedSpace and TclFindElement have common definition of whitespacedgp2020-04-091-3/+3
| | | | | | | | | | | | | | | | | | | | by having both call the same routine. Create a macro form to contain performance costs and adapt callers.
* | | | | Merge 8.7jan.nijtmans2020-03-181-23/+23
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.6jan.nijtmans2020-03-181-23/+23
| |\ \ \ \ | | |/ / /
| | * | | More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-23/+23
| | | | |
| | * | | Better error-handling in some libtommath calls.jan.nijtmans2020-01-231-2/+2
| | | | |
| | * | | A few more "break" statements, so any compiler knows these are no ↵jan.nijtmans2020-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | FALLTHROUGH situations.
* | | | | Merge 8.7jan.nijtmans2020-03-091-12/+6
|\ \ \ \ \ | |/ / / /
| * | | | More TCL_UNUSEDdgp2020-03-091-12/+6
| | | | |
* | | | | Merge 8.7jan.nijtmans2020-02-281-10/+13
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.7jan.nijtmans2020-02-131-206/+370
| |\ \ \ \
| * \ \ \ \ Merge 8.7jan.nijtmans2020-01-071-36/+119
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2019-12-131-22/+22
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge 8.7jan.nijtmans2019-11-091-16/+16
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | |
| * | | | | | | Merge 8.7jan.nijtmans2019-11-041-20/+20
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2019-10-251-13/+13
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2019-10-241-17/+17
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-0/+3
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
| * | | | | | | | | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-11/+11
| |/ / / / / / / / / /
* | | | | | | | | | | Merge 8.7jan.nijtmans2020-02-021-4/+8
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | |
| * | | | | | | | | | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵jan.nijtmans2020-02-021-4/+8
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/473]
| | * | | | | | | | | | Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in ↵jan.nijtmans2020-01-131-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the definition of mp_int. See: [https://github.com/libtom/libtommath/pull/473]
* | | | | | | | | | | | Merge 8.7jan.nijtmans2020-01-231-189/+355
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Merge 8.7. All calls using MP_WUR handled now.jan.nijtmans2020-01-221-47/+84
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| * | | | | | | | | | | Merge 8.7, more WIPjan.nijtmans2020-01-211-32/+63
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| * | | | | | | | | | | Merge 8.7, more WIPjan.nijtmans2020-01-171-48/+90
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| * | | | | | | | | | | More WIPjan.nijtmans2020-01-101-24/+41
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| * | | | | | | | | | | Start handling WUR (Warn Unused Result) in all tommath calls. WIP, not ↵jan.nijtmans2020-01-091-44/+83
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | complete yet.
* | | | | | | | | | | Merge 8.7jan.nijtmans2020-01-081-14/+8
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | Merge 8.6jan.nijtmans2020-01-081-14/+8
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | / / | | | |_|_|_|_|_|/ / | | |/| | | | | | |
| | * | | | | | | | Use _copysign on Windows always (available from float.h). Use mp_iszero() ↵jan.nijtmans2020-01-081-20/+14
| | |\ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | whenever appropriate.
| | | * | | | | | | Code cleanup (mostly comments, backported from 8.6).jan.nijtmans2020-01-081-1035/+1040
| | | | | | | | | |
* | | | | | | | | | Merge 8.7jan.nijtmans2020-01-071-6/+6
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Some eol whitespace eliminationsjan.nijtmans2020-01-071-6/+6
| | | | | | | | | |
* | | | | | | | | | merge core-8-branch, restore the build by providing a copysign replacement ↵fvogel2020-01-021-0/+12
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | for old MSVC versions.
| * | | | | | | | | Restore the build by providing a copysign replacement for old MSVC versions.fvogel2020-01-021-0/+12
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / /
| | * | | | | | | | Restore the build by providing a copysign replacement for old MSVC versions.fvogel2020-01-021-0/+12
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / /
| | | * | | | | | | Restore the build by providing a copysign replacement for old MSVC versions.fvogel2020-01-021-0/+12
| | | | | | | | | |
* | | | | | | | | | Merge Tcl 8.7 changes to deal with integer overflow in the exponent, and ↵Kevin B Kenny2019-12-271-36/+106
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | floating point overflow in the significand, of floating point input conversion (Bug [1de6b0629e]
| * | | | | | | | | Merge Tcl 8.6 changes to deal with integer overflow in the exponent, and ↵Kevin B Kenny2019-12-271-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 Kenny2019-12-271-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 Kenny2019-12-261-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).dgp2019-12-231-4/+4
| | | | | | | | | |
| | | * | | | | | | Assign a double literal to a double variable. No point in requiring conversion.dgp2019-12-221-1/+1
| | | | | | | | | |