int 2 Sections StandardLIB Doc

Def a mod n == if 0aa rem n ;((-a) rem n)=00 else n-((-a) rem n) fi

is mentioned by

Thm* a:, n:. a = (a n)n+(a mod n)[div_floor_mod_sum]
Thm* a:, n:. 0(a mod n) & (a mod n) < n[mod_bounds]

Try larger context: StandardLIB

int 2 Sections StandardLIB Doc