t3x.org / sketchy / library / nremainder.html
SketchyLISP
Reference
  Copyright (C) 2007
Nils M Holm

nremainder

Conformance: SketchyLISP Core

Purpose: Compute the division remainder of two natural numbers.

Arguments:
A - natural number (dividend)
B - natural number (divisor)

Implementation:

(define (nremainder a b)
  (cadr (ndivide a b)))

Example:

(nremainder 11 4) 
=> 3

See also:
digits, ndivide, nquotient, n*, n+, n-, remainder.