7.12.10.2 The remainder functions
Synopsis
#include <math.h>
double remainder(double x, double y);
float remainderf(float x, float y);
long double remainderl(long double x, long double y);
Description
The remainder functions compute the remainder x REM y required by IEC 60559.[1]
Returns
The remainder functions return x REM y. If y is zero, whether a domain error occurs or the functions return zero is implementation defined.
Footnotes