summaryrefslogtreecommitdiffstats
path: root/tests/mathop.test
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-1/+1
|\ | | | | | | non-comment corrections in history.tcl and tcltest.test.
| * Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-1/+1
| | | | | | corrections in history.tcl and tcltest.test.
| * Improve error-message "cannot use xxxx as operand ....."jan.nijtmans2022-10-141-97/+97
| |
* | Merge 8.7jan.nijtmans2020-11-231-2/+2
|\ \ | |/
| * Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
| | | | | | | | whenever reasonable.
* | Merge 8.7jan.nijtmans2020-10-301-3/+3
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-10-301-3/+3
| |\
| | * Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-3/+3
| | |
* | | Merge 8.7jan.nijtmans2020-09-041-1/+1
|\ \ \ | |/ /
| * | 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-1/+1
| | | | | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
| | * cherry pick of [238bd4d2c053540c]..[31dd092df4b57fdb]: More simplifications ↵sebres2019-02-041-2/+28
| | | | | | | | | | | | in tclExecute.c (INST_EXPON), much more and well-arranged branching of long/wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases.
* | | Merge 8.7jan.nijtmans2020-07-211-1/+1
|\ \ \ | |/ /
| * | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
| | |
* | | Merge 8.7jan.nijtmans2019-06-151-2/+42
|\ \ \ | |/ /
| * | Tests and docsdkf2019-06-061-2/+42
| | |
* | | merge 8.7sebres2019-01-251-2/+28
|\ \ \ | |/ /
| * | renumeration of testsebres2019-01-251-1/+1
| | |
| * | more tests for INST_EXPON: base -1, big exponent (odd/even).sebres2019-01-251-3/+5
| | |
| * | More simplifications in tclExecute.c (INST_EXPON), much more and ↵sebres2019-01-251-2/+26
| |/ | | | | | | well-arranged branching of wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases.
* | Implementation branch for TIP 114 - Eliminate Octal Parsing...dgp2017-10-231-97/+97
|/
* merge 8.5dgp2011-05-031-1/+1
|\
* \ 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.
| * * generic/tclExecute.c (IllegalExprOperandType): [Bug 3024379]: Madedkf2010-07-021-15/+19
| | | | | | | | | | | | sure that errors caused by an argument to an operator being outside the domain of the operator all result in ::errorCode being ARITH DOMAIN and not NONE.
| * merge updates from HEADdgp2008-03-311-3/+3
| |
* | * generic/tclExecute.c (IllegalExprOperandType): [Bug 3024379]: Madedkf2010-07-021-15/+21
| | | | | | | | | | | | sure that errors caused by an argument to an operator being outside the domain of the operator all result in ::errorCode being ARITH DOMAIN and not NONE.
* | Generate errorcodes for more cases.dkf2009-01-081-6/+6
| |
* | * tests/mathop.test (mathop-25.9, mathop-25.14): Modified testsKevin B Kenny2008-03-301-3/+3
|/ | | | | to deal with (slightly buggy) math libraries in which pow() returns an incorrectly rounded result. [Bug 1808174]
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* * generic/tclCompCmds.c: Use the new INST_REVERSE instructiondgp2007-09-091-3/+4
| | | | | | | | | * tests/mathop.test: to correct the compiled versions of math operator commands. [Bug 1724437]. * generic/tclCompile.c: New bytecode instruction INST_REVERSE to * generic/tclCompile.h: reverse the order of N items at the top of * generic/tclExecute.c: stack.
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-15/+15
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* * generic/tclBasic.c: Another step down the path of re-usingdgp2006-12-081-5/+5
| | | | | | | | * generic/tclCompExpr.c: TclExecuteByteCode to implement the TIP 174 * generic/tclCompile.h: commands instead of using a mass of code * generic/tclMathOp.c: duplication. Now all operator commands that * tests/mathop.test: demand exactly one operation are implemented via TclSingleOpCmd and a call to TEBC.
* * generic/tclMathOp.c: More revisions to make tests pass.dgp2006-12-081-7/+7
| | | | * tests/mathop.test:
* More tests for bitopsdkf2006-12-081-37/+344
|
* * tests/mathop.test: Commmitted several new tests from Peter Spjuthdgp2006-12-071-4/+735
| | | | | found in [Patch 157837]. Many failures now demonstrate issues to fix in the TIP 174 implementation.
* More #174 bits and piecesdkf2006-12-071-2/+115
|
* * generic/tclCompCmds.c: Revised and consolidated into utilitydgp2006-12-061-3/+3
| | | | | * tests/mathop.c: routines some of routines that compile the new TIP 174 commands. This corrects some known bugs. More to come.
* More bits and pieces of the TIP#174 implementationdkf2006-11-261-0/+184