summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
Commit message (Collapse)AuthorAgeFilesLines
* merge core-8-6-branchjan.nijtmans2017-07-031-26/+26
|\
| * 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy.jan.nijtmans2017-07-031-26/+26
| |
* | TIP #472 implementation: Add Support for 0d Radix Prefix to Integer Literalsjan.nijtmans2017-06-231-1/+16
|\ \
| * \ Merge core-8-6-branch. jan.nijtmans2017-06-151-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.nijtmans2017-06-141-1/+15
| |\ \
| | * | Implement proposed 0d decimal radix prefix to compliment 0x,0b,0o.griffin2017-05-271-1/+15
| | | |
* | | | merge core-8-6-branchjan.nijtmans2017-06-151-1/+1
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | Make panic in TclParseNumber() work when IEEE_FLOATING_POINT is not defined.jan.nijtmans2017-06-151-1/+1
| |/
* | In comments and documentation, distinguish between __int64 (a Microsoft ↵jan.nijtmans2017-03-291-2/+2
|\ \ | |/ | | | | 64-bit integer type) and int64_t (C99 equivalent)
| * In comments and documentation, distinguish between __int64 (a Microsoft ↵jan.nijtmans2017-03-291-2/+2
| | | | | | | | 64-bit integer type) and int64_t (C99 equivalent)
* | Fix for Ticket [71c0878b71] + test casesavl2017-03-051-1/+1
| |
* | Shortcut in TclParseNumber(): If obj is a dict or list, don't bother to ↵jan.nijtmans2017-02-081-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.dgp2016-10-121-1/+1
|
* [be003d570f] TclParseNumber() failed to fully implement TCL_PARSE_OCTAL_ONLY.dgp2016-10-121-0/+9
|\
| * [be003d570f] TclParseNumber() failed to fully implement TCL_PARSE_OCTAL_ONLY.dgp2016-10-121-0/+6
| |
| * RefineApproximation() leaked twoMv and twoMd in one of its exits.dgp2016-01-281-0/+2
| |
* | Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-4/+4
|\ \ | |/
| * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-99/+99
| |
* | Plug leak of two mp_ints.dgp2015-07-021-0/+2
| |
* | Silence compiler warning.dgp2015-06-241-2/+1
|\ \ | |/
| * Make sure that an input lying precisely 1/2 ULP between two floating point ↵dgp2015-06-241-8/+30
| | | | | | | | values is rounded to even.
* | Make sure that an input lying precisely 1/2 ULP between two floating point ↵Kevin B Kenny2015-06-201-8/+31
| | | | | | | | values is rounded to even.
* | Fix execute permission on many files which shouldn't have it.jan.nijtmans2013-10-171-0/+0
|\ \ | |/
| * Fix execute permission on many files which shouldn't have it.jan.nijtmans2013-10-171-0/+0
| |
* | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-231-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.dgp2012-06-051-3/+0
|\ \ | |/
| * Remove unused variable mantDIGIT.dgp2012-06-051-3/+0
| |
* | unused static array wtensjan.nijtmans2011-09-061-9/+0
|\ \ | |/
| * unused static array wtensjan.nijtmans2011-09-061-10/+0
| |
* | 3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex).dgp2011-09-011-0/+3
|\ \ | |/ | | [scan Inf %g] is portable; remove constraint.
| * 3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex)dgp2011-09-011-0/+3
| | | | | | [scan Inf %g] is portable; remove constraint.
| * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| |
* | * generic/tclAssemnbly.c: Plug another memory leak. [Bug 3384840]Kevin B Kenny2011-08-061-0/+3
| | | | | | | | * generic/tclStrToD.c: Plug another memory leak. [Bug 3386975]
* | Plugged a memory leak in double->stringKevin B Kenny2011-08-061-3/+2
|\ \ | |/ | | conversion. [Bug 3386975]
| * Plugged a memory leak in double->stringKevin B Kenny2011-08-061-3/+2
| | | | | | conversion. [Bug 3386975]
* | Use Tcl_PrintfObj to generate more (complex) error messages.dkf2011-08-051-4/+2
| |
* | Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-10/+48
|\ \ | |/
| * Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-021-10/+48
| |
* | 3315098 Mem leak fix from Gustaf Neumann.dgp2011-06-131-1/+1
|\ \ | |/
| * 3315098 Mem leak fix from Gustaf Neumann.dgp2011-06-131-1/+1
| |
* | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns()dgp2011-04-281-3/+3
|\ \ | |/ | | Use to replace calls to isspace() and their /* INTL */ risk.
| * New utility routines: TclIsSpaceProc() and TclCountSpaceRuns()dgp2011-04-281-3/+3
| | | | | | Use to replace calls to isspace() and their /* INTL */ risk.
* | Replaced another couple of 'double' declarations with 'volatile Kevin B Kenny2011-04-021-2/+4
|\ \ | |/ | | | | double' to work around misrounding issues in mingw-gcc 3.4.5.
| * Replaced another couple of 'double' declarations with 'volatile Kevin B Kenny2011-04-021-2/+4
| | | | | | | | double' to work around misrounding issues in mingw-gcc 3.4.5.
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-3/+2
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | 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-021-3/+0
| | | | | | more harm than good. Purged them.
| * * doc/tclvars.n:Kevin B Kenny2011-01-151-7/+23
| | | | | | | | | | | | | | | | | | | | * generic/tclStrToD.c: * generic/tclUtil.c (Tcl_PrintDouble): * tests/util.test (util-16.*): Restored full Tcl 8.4 compatibility for the formatting of floating point numbers when $::tcl_precision is not zero. Added compatibility tests to make sure that excess trailing zeroes are suppressed for all eight major code paths. [Bug 3157475]
| * Whitespace, and fix broken backport of ilimi* initialization.andreas_kupries2010-12-011-66/+66
| |
| * * generic/tclStrToD.c (SetPrecisionLimits, TclDoubleDigits):Kevin B Kenny2010-12-011-4/+11
| | | | | | | | | | | | | | | | Added meaningless initialization of 'i', 'ilim' and 'ilim1' to silence warnings from the C compiler about possible use of uninitialized variables, Added a panic to the 'switch' that assigns them, to assert that the 'default' case is impossible. [Bug 3124675]