changeset 3346:0047b8501fce

(mod): Use cl-floor. (rem): Use cl-truncate.
author Richard M. Stallman <rms@gnu.org>
date Mon, 31 May 1993 07:19:04 +0000
parents 38168270a9ca
children 53c89f73e85a
files lisp/=cl.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=cl.el	Mon May 31 06:07:08 1993 +0000
+++ b/lisp/=cl.el	Mon May 31 07:19:04 1993 +0000
@@ -1806,18 +1806,18 @@
 
 (defun mod (number divisor)
   "Return remainder of X by Y (rounding quotient toward minus infinity).
-That is, the remainder goes with the quotient produced by `floor'.
+That is, the remainder goes with the quotient produced by `cl-floor'.
 Emacs Lisp hint:
 If you know that both arguments are positive, use `%' instead for speed."
-  (floor number divisor)
+  (cl-floor number divisor)
   (cadr *mvalues-values*))
 
 (defun rem (number divisor)
   "Return remainder of X by Y (rounding quotient toward zero).
-That is, the remainder goes with the quotient produced by `truncate'.
+That is, the remainder goes with the quotient produced by `cl-truncate'.
 Emacs Lisp hint:
 If you know that both arguments are positive, use `%' instead for speed."
-  (truncate number divisor)
+  (cl-truncate number divisor)
   (cadr *mvalues-values*))
 
 ;;; internal utilities