From 2735ae8a8f3cd9a14778858d17f195bf54fc3303 Mon Sep 17 00:00:00 2001 From: pooryorick Date: Mon, 3 Oct 2016 16:49:58 +0000 Subject: Fix documentation of [expr] operators, replacing "divisor" with "dividend" --- doc/expr.n | 6 +++--- 1 file 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 -- cgit v0.12