This function returns the real modulus (the remainder from division) of real number x divided by real number y, which is denoted by formula
where is the integer of round toward 0.
double rmod( double x,double y)
Returns the real modulus of real number x divided by real number y.
val1 = rmod(4.5, 2); // val1 is 0.5
val2 = rmod(4.2,1.3); // val2 is 0.3
rmod2, mod, mod2,