-(defun abs (int)
- "Return the absolute value of INT."
- (if (< int 0) (- int) int))
-
-
-(defun floor (int1 int2)
- "Returns the floor of INT1 divided by INT2.
-INT1 may be negative. INT2 must be positive."
- (if (< int1 0)
- (- (ceiling (- int1) int2))
- (/ int1 int2)))
-
-(defun ceiling (int1 int2)
- "Returns the ceiling of INT1 divided by INT2.
-Assumes that both arguments are nonnegative."
- (+ (/ int1 int2)
- (if (zerop (mod int1 int2))
- 0
- 1)))
-