(ANSI Standard)
#include <math.h> z = fmod( x, y );
"fmod" returns a floating point number "z" such that
x == i*y + z
for some integer "i", and 0 <= z < y. This is the floating point analog of the integer "%" operation.
If "y" is zero, the ANSI standard allows "fmod" to return zero or else set "errno" to indicate a domain error. This implementation of "fmod" returns zero.
Copyright © 1996, Thinkage Ltd.