summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Some tests were non-portable, alas.dkf2004-09-191-2/+2
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+12
|
* More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-3/+3
|
* * tests/expr.test (expr-22.*): Marked as non-portable because itdkf2002-07-311-13/+16
| | | | | seems that these tests have an annoying tendency to fail in unexpected ways. [Bugs 584825, 584950, 585986]
* Allowed parser to recognise 'Inf' as a floating-point number. [Bug 218000]dkf2002-07-221-1/+29
| | | | Also produce better error messages when this happens.
* Fix for bug 579284; registered math funcs can now correctly return wide-ints.dkf2002-07-101-26/+34
|
* More expr syntax error improvementsdkf2001-12-061-38/+38
|
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-46/+46
|
* Recognise the non-numeric boolean literals (true,false,yes,no,on,off.)dkf2001-04-091-1/+15
| | | | [Bug #217777]
* Added test to detect bug #119153; the string forms of boolean valuesdkf2000-11-241-1/+6
| | | | should not be second-class citizens in the Tcl world...
* * doc/expr.n:hobbs2000-05-091-3/+30
| | | | | | | | | | | | * tests/expr.test: * tests/expr-old.test: added tests for 'eq' and 'ne' * generic/tclExecute.c: * generic/tclCompile.h: added INST_STREQ and INST_STRNEQ opcodes that do strict string comparisons. * generic/tclCompExpr.c: added 'eq' and 'ne' string comparison operators. * generic/tclParseExpr.c (GetLexeme): added 'eq' and 'ne' expr parse terms (string (in)equality check).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/info.test:hobbs2000-01-121-1/+4
| | | | | | | | | | | * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * tests/unixFCmd.test: * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970] * tests/utf.test: fixed test that allowed \8 as octal value
* * tests/env.test: removed knownBug limitation from working testhobbs1999-12-041-2/+8
| | | | | | | | | | | | | | | | | | * tests/all.tcl: ensured that ::tcltest::testsDirectory would be set to an absolute path * tests/expr-old.test: * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-1/+9
| | | | added tests for bug fixes
* Added a check at the end of the test to not unset variables ifjenn1999-06-301-2/+4
| | | | they don't exist.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-18/+57
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+670