aboutsummaryrefslogtreecommitdiffstats
path: root/math-integer.txi
diff options
context:
space:
mode:
Diffstat (limited to 'math-integer.txi')
-rwxr-xr-x[-rw-r--r--]math-integer.txi20
1 files changed, 16 insertions, 4 deletions
diff --git a/math-integer.txi b/math-integer.txi
index b626a33..9999fb3 100644..100755
--- a/math-integer.txi
+++ b/math-integer.txi
@@ -30,9 +30,21 @@ is less than or equal to @var{k}; otherwise signals an error.
@end defun
-@defvar quotient
-@defvarx remainder
-@defvarx modulo
+@defun quotient n1 n2
+@defunx remainder n1 n2
+@defunx modulo n1 n2
are redefined so that they accept only exact-integer arguments.
-@end defvar
+@end defun
+
+
+@defun round-quotient n1 n2
+
+Returns the quotient of @var{n1} and @var{n2} rounded toward even.
+
+@example
+(quotient 3 2) @result{} 1
+(round-quotient 3 2) @result{} 2
+@end example
+@end defun
+