diff options
| author | dgp@users.sourceforge.net <dgp> | 2006-11-05 03:33:56 (GMT) |
|---|---|---|
| committer | dgp@users.sourceforge.net <dgp> | 2006-11-05 03:33:56 (GMT) |
| commit | 954f38d22e0fbc3b7dae1563e0ae9ddfbf279add (patch) | |
| tree | 264ef29653c5c4d643fcd6144b7e8d438c41b036 /tests/expr.test | |
| parent | 1d476e8d861af1d0bab33ac3cb5ef653eeb9ee52 (diff) | |
| download | tcl-954f38d22e0fbc3b7dae1563e0ae9ddfbf279add.zip tcl-954f38d22e0fbc3b7dae1563e0ae9ddfbf279add.tar.gz tcl-954f38d22e0fbc3b7dae1563e0ae9ddfbf279add.tar.bz2 | |
TIP#274 IMPLEMENTATION
* generic/tclParseExpr.c: Exponentiation operator is now
* tests/expr.test: right associative. [Patch 1556802]
Diffstat (limited to 'tests/expr.test')
| -rw-r--r-- | tests/expr.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test index 9fc56e5..7064f17 100644 --- a/tests/expr.test +++ b/tests/expr.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: expr.test,v 1.64 2006/10/30 16:30:36 dgp Exp $ +# RCS: @(#) $Id: expr.test,v 1.65 2006/11/05 03:33:57 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2.1 @@ -980,6 +980,9 @@ test expr-23.46 {INST_EXPON: Bug 1561260} -body { test expr-23.47 {INST_EXPON: Bug 1561260} { expr 2**32*5**32 } 1[string repeat 0 32] +test expr-23.48 {INST_EXPON: TIP 274: right assoc} { +expr 2**3**4 +} 2417851639229258349412352 # Some compilers get this wrong; ensure that we work around it correctly test expr-24.1 {expr edge cases; shifting} {expr int(5)>>32} 0 |
