mod( a, b )a/b.
This is a modulo operation, but differs from the expression
a%b in that the answer is always >=0
(as long as b is not zero).
a (floating point)b (floating point)a by bmodulo(14, 5) = 4modulo(-14, 5) = 1modulo(2.75, 0.5) = 0.25double mod(double, double)