diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-04 11:41:58 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-04 11:41:58 (GMT) |
commit | 8ce466836fa45fa62a8376ebf3512c8792b4b3e9 (patch) | |
tree | 0d5172e938bc925ef0b3ababdde7b01198df5eed /doc | |
parent | e1d84b78d0239d32760c7af5286dd8f5564e4eee (diff) | |
parent | 179ed8faa4d8ab47fdb8ae6701308b73f8ce440b (diff) | |
download | tcl-8ce466836fa45fa62a8376ebf3512c8792b4b3e9.zip tcl-8ce466836fa45fa62a8376ebf3512c8792b4b3e9.tar.gz tcl-8ce466836fa45fa62a8376ebf3512c8792b4b3e9.tar.bz2 |
merge trunk
Diffstat (limited to 'doc')
-rw-r--r-- | doc/expr.n | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -133,7 +133,7 @@ absolute value of the divisor, has the same sign as the divisor. .RS .PP When applied to integers, division and remainder can be -considered to partition the number line into a sequence of +considered to partition the number line into a sequence of adjacent non-overlapping pieces, where each piece is the size of the divisor; the quotient identifies which piece the dividend lies within, and the remainder identifies where within that piece the dividend lies. A @@ -197,10 +197,10 @@ Logical OR. If both operands are false, the result is 0, or 1 otherwise. If-then-else, as in C. If \fIx\fR is false , the result is the value of \fIy\fR. Otherwise the result is the value of \fIz\fR. .PP -The exponentiation operator promotes types in the same way that the multiply -and divide operators do, and the result is is the same as the result of +The exponentiation operator promotes types in the same way that the multiply +and divide operators do, and the result is is the same as the result of \fBpow\fR. -Exponentiation groups right-to-left within a precedence level. Other binary +Exponentiation groups right-to-left within a precedence level. Other binary operators group left-to-right. For example, the value of .PP .CS @@ -215,7 +215,7 @@ is 0, while the value of .PP is 512. .PP -As in C, \fB&&\fR, \fB||\fR, and \fB?:\fR feature +As in C, \fB&&\fR, \fB||\fR, and \fB?:\fR feature .QW "lazy evaluation" , which means that operands are not evaluated if they are not needed to determine the outcome. For example, in |