Computes the floating-point remainder of the first argument divided by the second. If the second argument is 0, the function returns 0.
#include <math.h> double fmod (double x, double y);
0 | Indicates that y is 0. |
x | The value f, which has the same sign as the argument x, such that x == i * y + f for some integer i, where the magnitude of f is less than the magnitude of y. |