Remainder Functions

The Intel Math library supports the following remainder functions:

FMOD

Description: The fmod function returns the value x-n*y for integer n such that if y is nonzero, the result has the same sign as x and magnitude less than the magnitude of y.

Calling interface:

long double fmodl(long double x, long double y);
double fmod(double x, double y);
float fmodf(float x, float y);

REMAINDER

Description: The remainder function returns the value of x REM y.

Calling interface:

long double remainderl(long double x, long double y);
double remainder(double x, double y);
float remainderf(float x, float y);

REMQUO

Description: The remquo function returns the value of x REM y.

Calling interface:

long double remquol(long double x, long double y, int *quo);
double remquo(double x, double y, int *quo);
float remquof(float x, float y, int *quo);

/* All remquo functions: Itanium®-based systems only */