summaryrefslogtreecommitdiffstats
path: root/doc
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)
commit2735ae8a8f3cd9a14778858d17f195bf54fc3303 (patch)
tree634106e0db83976b3bc38e6c4ee252f1c18ae98e /doc
parent0bb135c827e61a652002b80bbdd7fdb07861cfbe (diff)
downloadtcl-2735ae8a8f3cd9a14778858d17f195bf54fc3303.zip
tcl-2735ae8a8f3cd9a14778858d17f195bf54fc3303.tar.gz
tcl-2735ae8a8f3cd9a14778858d17f195bf54fc3303.tar.bz2
Fix documentation of [expr] operators, replacing "divisor" with "dividend"
Diffstat (limited to 'doc')
-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