mod

mod returns the modulus(remainder) of a/b.

mod(double a, double b)