Calculates the remainder of a division of two floating-point numbers.
double remainder(double d1, double d2);
float remainderf(float d1, float d2);
long double remainderl(long double d1, long double d2);
d1, d2 Values for which remainder of a division is to be computed (d1 / d2)
Remainder of division of d1 by d2
The remainder calculation by the remainder function group conforms to the IEEE 60559 standard.