diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2016-10-03 16:49:58 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2016-10-03 16:49:58 (GMT) |
commit | 8c066a970f11314588d9390f553f6fd3cac5973c (patch) | |
tree | 634106e0db83976b3bc38e6c4ee252f1c18ae98e | |
parent | a9dbadf46a6887f08b95f97dce3815020e7e0519 (diff) | |
download | tcl-8c066a970f11314588d9390f553f6fd3cac5973c.zip tcl-8c066a970f11314588d9390f553f6fd3cac5973c.tar.gz tcl-8c066a970f11314588d9390f553f6fd3cac5973c.tar.bz2 |
Fix documentation of [expr] operators, replacing "divisor" with "dividend"
-rw-r--r-- | doc/expr.n | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -133,15 +133,15 @@ Exponentiation. Valid for any numeric operands. Multiply, divide, remainder. None of these operators may be applied to string operands, and remainder may be applied only to integers. -The remainder will always have the same sign as the divisor and +The remainder always has the same sign as the divisor and an absolute value smaller than the absolute value of the divisor. .RS .PP When applied to integers, the division and remainder operators can be considered to partition the number line into a sequence of equal-sized adjacent non-overlapping pieces where each piece is the size of the divisor; -the division result identifies which piece the divisor lay within, and the -remainder result identifies where within that piece the divisor lay. A +the division result identifies which piece the dividend lies within, and the +remainder result identifies where within that piece the dividend lies. A consequence of this is that the result of .QW "-57 \fB/\fR 10" is always -6, and the result of |