Function: cl-rem
cl-rem is an autoloaded and byte-compiled function defined in
cl-extra.el.gz.
Signature
(cl-rem X Y)
Documentation
The remainder of X divided by Y, with the same sign as X.
Aliases
rem* (obsolete since 27.1)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-extra.el.gz
;;;###autoload
(defun cl-rem (x y)
"The remainder of X divided by Y, with the same sign as X."
(declare (side-effect-free t))
(nth 1 (cl-truncate x y)))