It is not a division actually
float fmod (float numer, float denom);
Returns the floating-point remainder of numer/denom.
In your case remainder is 1.
It is not a division actually
float fmod (float numer, float denom);
Returns the floating-point remainder of numer/denom.
In your case remainder is 1.