src/utils.lisp @ 21b9503510dc

Initial commit
author Steve Losh <steve@stevelosh.com>
date Sat, 09 Apr 2016 22:59:17 +0000
parents (none)
children dcf7b53a54df
(in-package #:coding-math.utils)

(defun dividesp (n divisor)
  "Return whether `n` is evenly divisible by `divisor`."
  (zerop (mod n divisor)))