From 048423f63eb16183b62f7621cc5bdc78adf9c859 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 1 Mar 2016 15:59:13 +0100 Subject: Man pages: rationale for non-essential arithmetic functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man/zdivmod.3 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man/zdivmod.3') 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), -- cgit v1.2.3-70-g09d2