home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
me34src.zip
/
me3
/
mutt
/
builtin
/
mod.mut
< prev
next >
Wrap
Lisp/Scheme
|
1995-01-14
|
171b
|
6 lines
;; mod.mut : modulo
;; (mod n base) == n modulo base == n - (n/base)*base
;; C Durland Public Domain
(defun mod (int n base) HIDDEN { (- n (* (/ n base) base)) } )