aboutsummaryrefslogtreecommitdiffstats
path: root/man/zdiv.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/zdiv.3')
-rw-r--r--man/zdiv.38
1 files changed, 8 insertions, 0 deletions
diff --git a/man/zdiv.3 b/man/zdiv.3
index 869e384..99faf53 100644
--- a/man/zdiv.3
+++ b/man/zdiv.3
@@ -25,6 +25,14 @@ gets
It is safe to call
.B zdiv
with non-unique parameters.
+.SH RATIONALE
+.B zdiv
+rounds toward zero because this is what you expect
+from the C programming language and is most often
+what you want to do when rounding downwards. Note
+however, this is not the same things as floored
+division which is used in some programming languages
+and some libraries.
.SH SEE ALSO
.BR zdivmod (3),
.BR zstr (3),