(rontolisp) docs
← Numbers and predicates

mod

(mod n d)

The floor modulus: the result carries d's sign, where rem carries n's.