summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 9.0jan.nijtmans2025-09-081-17/+16
|\
| * More follow-up to [0439e1e1a3]: Slow detection of illegal expr argument, ↵jan.nijtmans2025-09-071-17/+16
| | | | | | | | some refactoring
| * Backport: Add [[unreachable]] and [[fallthrough]] from C23 (where available)jan.nijtmans2025-06-021-20/+33
| |
| * [fd1585e2a1] Adopt efficient internal indexing calculation utility TclMSB().dgp2025-05-091-26/+2
| |
* | more unreachable/fallthrough marksdkf2025-05-291-19/+32
| |
* | Add a TCL_UNREACHABLE macro for marking a code path as never reached dkf2025-05-271-1/+1
| | | | | | Inspired by https://en.cppreference.com/w/c/language/attributes/deprecated
* | Clean up indentation and overlong linesdkf2025-05-231-4/+4
| |
* | merge trunkdgp2025-05-091-2/+44
|\ \ | |/
| * Fix [9dcdddeefe]: compiler warnings. No need to put this in changelog, since ↵jan.nijtmans2025-05-081-6/+14
| | | | | | | | it's introduced after 9.0.1.
| * [42d14c495a] Parsing long floating point stringsoehhar2025-05-051-0/+34
| |\
| | * [42d14c495a] Parsing long floating point stringsoehhar2025-05-051-0/+34
| | |\
| | | * [42d14c495a] Add source code comment and test case provided by Christian ↵oehhar2025-05-051-0/+7
| | | | | | | | | | | | | | | | Werner (thanks)
| | | * Proposed fix for [42d14c495a]: Parsing long floating point strings (thanks, ↵jan.nijtmans2025-04-021-0/+27
| | | | | | | | | | | | | | | | Christian)
| | * | Correct false claims in the header comment of RequiredPrecision()dgp2025-04-161-1/+2
| | |/
| * | Correct false claims in the header comment of RequiredPrecision()dgp2025-04-161-1/+2
| | |
* | | The callers of TclLog2() needed its range to be limited to [0..31].dgp2025-04-171-1/+1
| | | | | | | | | | | | | | | RequiredPrecision needs support for the full long long range. Create a new utility routine TclMSB() to provide the functionality without truncated range. Use it. Put it internal stubs anticipating testing.
* | | Remove code that purports to handle the circumstance whendgp2025-04-171-33/+2
| | | | | | | | | | | | | | | sizeof(Tcl_WideUInt) > sizeof(long long) It is believed this is never true in Tcl 9.
* | | Fix up the handling of zero input to RequiredPrecisiondgp2025-04-171-1/+1
| | |
* | | The routine RequiredPrecision() is just a variation on the same functiondgp2025-04-161-0/+7
| | | | | | | | | provided by TclLog2(). Re-implement as a simple wrapper.
* | | Correct false claims in the header comment of RequiredPrecision()dgp2025-04-161-1/+2
|/ /
* | Fix -Wconversion warningsjan.nijtmans2025-04-021-50/+50
|\ \ | |/
| * Fix -Wconversion and unused parameter warnings. Backported from (but ↵jan.nijtmans2025-04-021-90/+78
| | | | | | | | unrelated to) TIP #626
| * Another round of sentinel fixes for 8.6, NULL -> (char *)NULLjan.nijtmans2024-05-291-2/+2
| |
| * Make TclGlob() a static function. Sentinel/indenting/comment improvements ↵jan.nijtmans2024-05-281-8/+8
| | | | | | | | (all backported from 8.7)
* | Follow-up for [0439e1e1a3]: Slow detection of illegal expr argument. Same ↵jan.nijtmans2024-10-081-4/+12
|\ \ | | | | | | | | | fix in more places. Only use "list" for real lists
| * \ Fix [0439e1e1a3]: Slow detection of illegal expr argumentjan.nijtmans2024-10-081-6/+14
| |\ \
| | * | Do an additional check, before declaring something "a list"jan.nijtmans2024-10-081-1/+5
| | | |
| | * | Code de-duplication, move it to TclParseNumber()jan.nijtmans2024-09-251-4/+8
| |/ / |/| |
* | | Fix ungrammatical doubling of words in commentsminordkf2024-09-211-2/+2
| | |
* | | Space before tab is an extremely unlikely to be correct indentation patterndkf2024-06-041-5/+5
| | |
* | | Some tidying up, mostly of indentationdkf2024-06-011-7/+8
| | |
* | | Merge 8.7jan.nijtmans2024-05-271-2/+2
|\ \ \ | |/ /
| * | Another round of sentinel improvementsjan.nijtmans2024-05-271-2/+2
| |\ \ | | |/
| | * Update tommath.h/tommath_private.h toojan.nijtmans2024-04-011-5/+5
| | |
| * | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-1/+1
| | |
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-45/+25
| | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
* | | Clean up a lot of small whitespace issues dkf2024-05-131-25/+45
| | | | | | | | | This is the dullest commit ever. Sorry.
* | | More whitespace cleanupdkf2024-05-101-3/+0
| | |
* | | Fix indentation/brace usage style issuesdkf2024-03-191-11/+11
| | |
* | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-1/+1
| | |
* | | Merge 8.7jan.nijtmans2023-10-191-3/+3
|\ \ \ | |/ /
| * | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-3/+3
| | |
* | | Merge 8.7jan.nijtmans2023-10-151-2/+2
|\ \ \ | |/ /
| * | Merge 8.6. Use (void *)NULL in stead of NULL for C++jan.nijtmans2023-10-151-2/+2
| |\ \ | | |/
| | * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-3/+3
| | | | | | | | | corrections in history.tcl and tcltest.test.
| * | backport numeric white-space bug fix from 9.0griffin2023-09-021-83/+86
| | |
* | | Always use UCHAR() with isxdigit(). doc fixjan.nijtmans2023-09-011-2/+2
| | |
* | | Fix bug with octal. Add floating point example to doc.griffin2023-09-011-2/+2
| | |
* | | Use system isxdigit.griffin2023-09-011-12/+2
| | |
* | | Rewrite how numeric whitespace is processed in TclParseNumber. Add more ↵griffin2023-09-011-141/+99
| | | | | | | | | | | | number test cases.