SketchyLISP Reference |
Copyright (C) 2007 Nils M Holm |
<<[not-equal?] | [Index] | [nremainder]>> |
Conformance: SketchyLISP Core
Purpose: Divide two natural numbers. Return the integer part of their quotient.
Arguments:
A - natural number (dividend)
B - natural number (divisor)
Implementation:
(define (nquotient a b) (car (ndivide a b)))
Example:
(nquotient 11 4) => 2
See also:
digits,
ndivide,
nremainder,
n*,
n+,
n-,
quotient.
<<[not-equal?] | [Index] | [nremainder]>> |