mod function mod(x:Integer, y:Integer) -> Integer Modulus. function mod(x:Real, y:Real) -> Real Modulus.