summaryrefslogtreecommitdiffstats
path: root/tests/lseq.test
Commit message (Collapse)AuthorAgeFilesLines
* Fix for ticket [f4a4bd7f1070] - lseq "count" argument also dictates output ↵griffin2024-09-011-4/+17
| | | | | | formatting. Solved by only consdering the start, end, and step values to determine the value formatting of the results. Real numbers can still be used for the Count value, as long as the value is a whole number.
* merge 8.7 (several conflicts resolved)sebres2024-06-121-1/+5
|\
| * ultimately closes [f05f5ef759c1f7f9]: since bigints are not supported yet, ↵sebres2024-06-121-1/+5
| | | | | | | | trying to use them as series parameters would cause "integer value too large to represent" unless implemented.
* | merge 8.7sebres2024-06-121-3/+26
|\ \ | |/
| * more fixes for [f05f5ef759c1f7f9]: don't swallow expr errors, further code ↵sebres2024-06-121-3/+10
| | | | | | | | review and simplification
| * lseq: more testssebres2024-06-121-0/+16
| |
* | merge 8.7 (fix for [f05f5ef759c1f7f9])sebres2024-06-121-0/+26
|\ \ | |/
| * tests illustrating bug [f05f5ef759c1f7f9], incorrect behavior of lseqsebres2024-06-121-0/+26
| |
* | merge 8.7 (BF [a9625d1f53554f9d])sebres2024-03-071-0/+7
|\ \ | |/
| * fixes segfault [a9625d1f53554f9d]: elemObj used uninitialized, lindex on ↵sebres2024-03-071-0/+7
| | | | | | | | lseq wo args must return whole list
| * Fix [578b7e273c03]: Round computed end value to match precision of given ↵jan.nijtmans2024-02-151-0/+19
| | | | | | | | arguments
| * Fix [54329e39c7]apnadkarni2023-07-121-0/+21
| |
| * Test update for bug [63530267aa].griffin2023-06-301-53/+177
| |
| * Fix ticket [63530267aa] by implementing ticket [e5f06285de] and making ↵griffin2023-06-281-3/+2
| | | | | | | | additional corrections.
| * Fix [26960060d7]: lseq-3.14 triggers use-after-freejan.nijtmans2023-06-281-0/+6
| |
* | Fix bug 578b7e273c03. -- Round computed end value to match precision of ↵griffin2024-02-151-0/+19
| | | | | | | | given arguments.
* | Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13apnadkarni2023-08-131-1/+1
| |
* | Implement in,ni operator for abstract listsgriffin2023-08-081-0/+43
| |
* | Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat.griffin2023-07-161-3/+5
| | | | | | | | | | | | Add cleanup to some tests. Fix bug and leak in tclTestABSList.c Correct comment in tclArithSeries.c
* | dup test namedgp2023-07-141-1/+1
| |
* | Add testapnadkarni2023-07-121-0/+21
| |
* | merge trunkgriffin2023-06-301-5/+29
|\ \
| * | Test update for bug [63530267aa]. Fix 32-bit embtest build issue.griffin2023-06-301-5/+29
| | |
* | | merge trunkgriffin2023-06-301-1/+1
|\ \ \ | |/ /
| * | Merge 9.0jan.nijtmans2023-06-271-1/+1
| | |
* | | Merge trunkgriffin2023-05-231-58/+111
|\ \ \ | |/ /
| * | Fix test to be stable.griffin2023-05-211-2/+2
| | |
| * | Add cleanup to lseq tests. Fix assertion.griffin2023-05-201-50/+129
| | |
| * | Fix for [5ee01098824881b5], lseq list conversion results in attempt to accesspooryorick2023-05-171-0/+6
| | | | | | | | | freed memory.
* | | Add Tcl_BumpObj() used to prevent leaks from Abstract List elements.griffin2023-05-171-1/+46
| | | | | | | | | | | | | | | | | | | | | Add Abstract List (ArithSeries) support in Tcl_ListObjIndex(). Fix obj leaks in lsearch operatations on ArithSeries. Fix obj leaks in concat operations on ArithSeries. Add concat and lsearch tests using lseq lists.
| | |
| \ \
*-. \ \ Partial sync-up with trunk.griffin2023-04-301-30/+42
|\ \ \ \ | | |/ /
| | * | Fix index descrepencies (bug-fa00fbbbabe).griffin2023-04-261-9/+42
| | |\ \ | |/ / / | | | | | | | | Fix inconsistent rounding (bug-e5f06285de).
| | * | merge trunk, address some 32-bit issues.griffin2023-04-261-3/+3
| | |\ \ | | |/ / | |/| |
| | * | Add fix inconsistent rounding (bug-e5f06285de).griffin2023-04-251-2/+20
| | | | | | | | | | | | | | | | | | | | Compute and use the "precision" for sequences of doubles: determine the number of significant digits in the fractional part of the given arguments, and round the results to that limit. Fix copy bug in DupArithSeriesInternalRep.
| | * | sync with trunk. Fix lseq size bugs.griffin2023-04-201-4/+12
| | |\ \ | | |/ / | |/| |
| | * | Fix bug-fa00fbbbabe - seq / lindex discrepanciesgriffin2023-04-161-6/+13
| |/ / | | | | | | | | | | | | | | | | | | Replace macros with static inline functions. Limit ArithSeries list size to LIST_MAX. This way, shimmering less likely to fail if it happens. Speed up UpdateStringOfArithSeries. Fixed issues around indexing into vary large lseq lists.
* | | Merge trunkgriffin2023-03-251-3/+6
|\ \ \ | |/ /
| * | Fix longIs64Bit->has64BitLengths else test will not run on 64-bit Windapnadkarni2023-03-221-2/+5
| | |
| * | Add longIs64bit constraint to lseq-4.4 (because this isn't expected to work ↵jan.nijtmans2023-03-201-1/+2
| | | | | | | | | | | | on 32-bit platforms). Remove some unused constraints.
* | | Support multiple indicies in abstract list lindex operation.griffin2022-11-241-0/+15
|\ \ \ | |/ / | | | | | | Catch up with trunk.
* | | TIP 636 for Tcl 9griffin2022-11-021-3/+10
|\ \ \ | |/ / |/| |
| * | Sync with core-8-branchgriffin2022-11-011-3/+35
| |\ \ | | |/
| * | More work on lset support in AbstractListsgriffin2022-10-191-0/+6
| | |
| * | Add SetElement function to abstract lists. Fix a few bugs.griffin2022-10-181-1/+1
| | |
| * | Sync with core-8-branchgriffin2022-10-071-3/+42
| |\ \
| * | | Move all ArithSeries code to it's own file. Sync other changes wil TIP-629.griffin2022-08-281-17/+96
| | | |
| * | | Reimplement AbstrctList type structure to simplify. fix various bugs.griffin2022-08-191-28/+44
| | | |
| * | | Make AbstractListRepPtr part of the public API as Tcl_AbstractListRepPtr.griffin2022-08-101-12/+5
| | | | | | | | | | | | | | | | Fix bug with ArithSeries Reverse function.
| * | | Add version number to AbstractList implementation. Make sure lsort and ↵griffin2022-08-081-0/+16
| | | | | | | | | | | | | | | | lreplace do not shimer their input argument.
| * | | Abstract Lists (TIP-225) initial implementation.griffin2022-08-081-0/+378
| / /