Returns the non-negative remainder of x / m. @param x The operand. @param m The modulus.
static num mod(num x, num m) => ((x % m) + m) % m;