math:mod
builtin-function
(math:mod a b)
Returns the remainder of the division of two numbers, i. e. the
value of (- a (* (math:floor (/ a b)) b)).
make-html > (math:mod 7 3)
it: 1
make-html > (math:mod -7 3)
it: 2
make-html > (math:mod 7 -3)
it: -2
make-html > (math:mod -7 -3)
it: -1