cppreference.com > Standard C Math > fmod
fmod
Syntax:
  #include <math.h>
  double fmod( double x, double y );

The fmod() function returns the remainder of x/y.