summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2016-10-03 16:49:58 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2016-10-03 16:49:58 (GMT)
commit8c066a970f11314588d9390f553f6fd3cac5973c (patch)
tree634106e0db83976b3bc38e6c4ee252f1c18ae98e
parenta9dbadf46a6887f08b95f97dce3815020e7e0519 (diff)
downloadtcl-8c066a970f11314588d9390f553f6fd3cac5973c.zip
tcl-8c066a970f11314588d9390f553f6fd3cac5973c.tar.gz
tcl-8c066a970f11314588d9390f553f6fd3cac5973c.tar.bz2
Fix documentation of [expr] operators, replacing "divisor" with "dividend"
-rw-r--r--doc/expr.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/expr.n b/doc/expr.n
index b76b6a2..e25515d 100644
--- a/doc/expr.n
+++ b/doc/expr.n
@@ -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