summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-10-261-6/+6
|\
| * Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent ↵jan.nijtmans2020-10-261-3/+3
| | | | | | | | error messages)
* | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ | |/
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-2/+2
| |
* | Some eol whitespace eliminationsjan.nijtmans2020-01-071-4/+4
| |
* | Merge Tcl 8.6 changes to deal with integer overflow in the exponent, and ↵Kevin B Kenny2019-12-271-0/+66
|\ \ | |/ | | | | 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-0/+66
| |\ | | | | | | | | | 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-0/+9
| | | | | | | | | | | | 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-1/+1
| | |
| | * Tests for another parsing bug.dgp2019-12-221-0/+7
| | |
| | * Tests demonstrating the number parsing overflow bugs.dgp2019-12-211-0/+50
| | |
* | | Remove last traces of strtod() function, since it isn't used in Tcl any more.jan.nijtmans2019-07-161-1/+1
| | |
* | | TIP 521: Float classification functionsdkf2019-06-161-6/+139
|\ \ \
| * | | Implement TIP 521, including testsdkf2019-06-021-6/+139
| | | |
* | | | Tests and docsdkf2019-06-061-0/+20
|/ / /
* | | Merge 8.6jan.nijtmans2019-03-271-21/+21
|\ \ \ | |/ /
| * | Document maximum value for right argument of '**' operator. jan.nijtmans2019-03-271-21/+21
| | | | | | | | | | | | | | | Adapt test-cases to test for exactly one more than this maximum value. Make sure that the maximum is the same for DIGIT_BIT > 28. Change macro's for mp_iseven()/mp_isodd() so they don't depend on value of DIGIT_BIT any more.
* | | Merge 8.7jan.nijtmans2018-09-031-2/+1
|\ \ \
| * | | Eliminate use of wideBiggerThanInt test constraint, since it's the same as ↵jan.nijtmans2018-09-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | {longIs32bit wideIs64bit}. And ... it's name is actually wrong ... Don't use int() any more in any test constraint, since it's semantics might change. We don't want the test constraints to change with it. (See: TIP# 514) Simplify implementation of wideIs64bit test constraint, just testing for 64-bit sign bit is enough.
* | | | Fix compilation on 32-bit platforms, and fix unit-tests in this environmentjan.nijtmans2018-08-291-19/+16
| | | |
* | | | Now, restore wide(), but make int() the same as entier(). Add new utility ↵jan.nijtmans2018-08-281-3/+3
|/ / / | | | | | | | | | function.
* | | Purge end-of-line spacingjan.nijtmans2018-08-021-1/+1
| | |
* | | merge 8.6jan.nijtmans2018-06-251-0/+9
|\ \ \ | |/ /
| * | Add a test for no generation of a string representation when comparing with thepooryorick2018-06-231-0/+9
| | | | | | | | | empty string.
* | | More tests for bignum modulus regressionsdgp2018-02-141-0/+6
|\ \ \ | |/ /
| * | More tests for bignum modules regressions.dgp2018-02-141-0/+6
| | |
| * | New test expr-32.7 for bignum modulus range.dgp2018-02-131-0/+3
| | |
* | | test expr-32.7 for bignum modulus range. FAILING for now. Error in TIP 484.dgp2018-02-131-0/+3
| | |
* | | TIP #485 implementation: "Remove Deprecated API". Based on Tcl 8.7 ↵jan.nijtmans2017-11-081-39/+0
| | | | | | | | | | | | (core-8-branch).
* | | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-0/+9
|\ \ \ | |/ / | | | | | | first-argument NaN shortcut is too aggressive
| * | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-0/+9
| |\ \ | | |/ | | | | | | first-argument NaN shortcut is too aggressive
| | * Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-0/+9
| | | | | | | | | | | | first-argument NaN shortcut is too aggressive
| | * Make sure that an input lying precisely 1/2 ULP between two floating point ↵dgp2015-06-241-0/+8
| | | | | | | | | | | | values is rounded to even.
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|/ /
* | Make sure that an input lying precisely 1/2 ULP between two floating point ↵Kevin B Kenny2015-06-201-0/+4
| | | | | | | | values is rounded to even.
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | 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-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Fix [Bug 2954959] expr abs(-0.0) is -0.0nijtmans2010-02-221-2/+19
| | | | | | | | | | | | Added some test cases, adapted and backported from 8.5
| | * * tests/expr.test: Nan self-inquality test silenced. [Bug 761471]dgp2006-03-231-2/+2
| | |
| | * * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-081-25/+13
| | |
| | * * tests/expr.test: Fix problems in new round()mdejong2005-10-291-25/+29
| | | | | | | | | | | | | | | tests that lead to correct result only on 32 bit long systems. [Bug 1341368]
| | * * generic/tclExecute.c (ExprRoundFunc):mdejong2005-10-281-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command.
| | * renumber expr-39.* to expr-46.*Kevin B Kenny2005-08-291-13/+13
| | |
| | * fix test case numberingKevin B Kenny2005-08-291-2/+2
| | |
| | * Bug 1275043Kevin B Kenny2005-08-291-1/+72
| | |
| | * fix abs(MIN_INT) [Bug 1241572]Kevin B Kenny2005-08-051-1/+7
| | |
| | * Final fix for NaN != NaN bug. Thanks to Miguel Sofer for his improved patch.dkf2004-11-021-1/+6
| | | | | | | | | | | | [Bug 761471]