Reference: mod
mod(n, m) returns the remainder when the integer n is divided by the integer m. Example: mod(12, 5) = 2 For general arguments x and y, mod(x, y) adds an integer multiple of y to x so that the result lies within [0, y]. Example: mod(14.71, π/2) = 0.572833058846