Table of Contents
Previous Section Next Section

fmod

#include <cmath>float fmod(float x, float y);double fmod(double x, double y);
long double fmod(long double x, long double y);

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

Related functions are ceil( ), floor( ), and fabs( ).


Table of Contents
Previous Section Next Section