summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
Commit message (Collapse)AuthorAgeFilesLines
* * tests/expr.test: Nan self-inquality test silenced. [Bug 761471]dgp2006-03-231-2/+2
| | | FossilOrigin-Name: 5b85b9707d426a9a5176d361de275da4f816d911
* * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-081-25/+13
| | | FossilOrigin-Name: 024787a346d6feb0f5dc5598c9b6e28a854e9e47
* * 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] FossilOrigin-Name: a724bb58a68bd3cf751ac07a2dd54d98afc4b831
* * 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. FossilOrigin-Name: fb8cf7da366a326764acc225c760bab02a5ad506
* renumber expr-39.* to expr-46.*kennykb2005-08-291-13/+13
| | | FossilOrigin-Name: f291388d768d69f768c94025a8cf7da51a46a23b
* fix test case numberingkennykb2005-08-291-2/+2
| | | FossilOrigin-Name: ff06a0c77b711dc26b6777dee785060b18f66b50
* Bug 1275043kennykb2005-08-291-1/+72
| | | FossilOrigin-Name: b9f7d2aeda7d0587d70d6e4a93676ccff90504b2
* fix abs(MIN_INT) [Bug 1241572]kennykb2005-08-051-1/+7
| | | FossilOrigin-Name: da7287325457d7831df28f27cf05e50e41b7976d
* Final fix for NaN != NaN bug. Thanks to Miguel Sofer for his improved patch.dkf2004-11-021-1/+6
| | | | | | [Bug 761471] FossilOrigin-Name: 85f7b0c31c205e3490115de5e3d6fdc24a23fe3d
* Some tests were non-portable, alas.dkf2004-09-191-2/+2
| | | FossilOrigin-Name: 47a22ed028641ce4924ae1aa88805e4a57c8aaea
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+12
| | | FossilOrigin-Name: e3fdc9a7741a43ee8b49f837953964c80d54e89f
* More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-271-3/+3
| | | FossilOrigin-Name: 4d2f94712f0a871d7b56eba6581e96c9aa48a891
* * 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] FossilOrigin-Name: fcc047ebfcf89c9c59bfe85cdb54345577e02e34
* 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. FossilOrigin-Name: 45c965968361d9089ab52e3614ecf33a20e37c3f
* Fix for bug 579284; registered math funcs can now correctly return wide-ints.dkf2002-07-101-26/+34
| | | FossilOrigin-Name: dcf797b4b289cf7636c665852c52db8ebd1c8f8d
* More expr syntax error improvementsdkf2001-12-061-38/+38
| | | FossilOrigin-Name: cd9316932b4481e9d683a9cbd34f3739d82bfbe7
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-46/+46
| | | FossilOrigin-Name: 7496369e64da3d9b0b5a574f2fc8ed8c607e81d7
* Recognise the non-numeric boolean literals (true,false,yes,no,on,off.)dkf2001-04-091-1/+15
| | | | | | [Bug #217777] FossilOrigin-Name: 738883f61ad960098bf74145124ac2b135bf7553
* 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... FossilOrigin-Name: cd37f4cab0864593b09ec0bca6c063ab98699b78
* * 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). FossilOrigin-Name: 0d91727189902e0a4d26a1475c4ecdd1bfda037e
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * 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 FossilOrigin-Name: 2ce9534422c6e21c2559669571abd9602adaef0f
* * 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. FossilOrigin-Name: 7b710149dc55805b40af645d646ee7ae9ad44ea9
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-1/+9
| | | | | | added tests for bug fixes FossilOrigin-Name: 5151e2b2b1475df42911434538b01508a67b2e82
* Added a check at the end of the test to not unset variables ifjenn1999-06-301-2/+4
| | | | | | they don't exist. FossilOrigin-Name: bc368c12a444172e0dfe408f21e190e67ef22fcf
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-18/+57
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+670
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a