aboutsummaryrefslogtreecommitdiffstats
path: root/man/zdivmod.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-01 15:59:13 +0100
committerMattias Andrée <maandree@kth.se>2016-03-01 15:59:13 +0100
commit048423f63eb16183b62f7621cc5bdc78adf9c859 (patch)
treec8bf712c6e700251235507e50288ab2106e8d5e9 /man/zdivmod.3
parentAdd more man pages (diff)
downloadlibzahl-048423f63eb16183b62f7621cc5bdc78adf9c859.tar.gz
libzahl-048423f63eb16183b62f7621cc5bdc78adf9c859.tar.bz2
libzahl-048423f63eb16183b62f7621cc5bdc78adf9c859.tar.xz
Man pages: rationale for non-essential arithmetic functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zdivmod.3')
-rw-r--r--man/zdivmod.34
1 files changed, 4 insertions, 0 deletions
diff --git a/man/zdivmod.3 b/man/zdivmod.3
index 683d17f..b11b8b6 100644
--- a/man/zdivmod.3
+++ b/man/zdivmod.3
@@ -38,6 +38,10 @@ except it is
safe to call
.B zdivmod with
.IR "(quotient==remainder)" .
+.SH RATIONALE
+Calculating the remainder requires calculating division to
+be performed, and performing a division gives the remainder
+for free. It is often useful to calculate both.
.SH SEE ALSO
.BR zstr (3),
.BR zadd (3),