Table of Contents
Previous Section Next Section

fmod

#include <math.h>float fmodf(float a, float b);double fmod(double a, double b);
long double fmodl(long double a, long double b);

fmodf( ) and fmodl( ) were added by C99.

The fmod( ) family of functions returns the remainder of a/b.

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


Table of Contents
Previous Section Next Section