The Intel Math library supports the following miscellaneous functions:
Description: The copysign function returns the value with the magnitude of x and the sign of y.
Calling interface:
long double copysignl(long
double x, long double y);
double copysign(double x, double y);
float copysignf(float x, float y);
Description: The fabs function returns the absolute value of x.
Calling interface:
long double fabsl(long double
x);
double fabs(double x);
float fabsf(float x);
Description: The fdim function returns the positive difference value, x-y (for x > y) or +0 (for x<= y).
Calling interface:
long double fdiml(long double
x, long double y);
double fdim(double x, double y);
float fdimf(float x, float y);
Description: The finite function returns 1 if x is not a NaN or +/-Infinity. Otherwise 0 is returned..
Calling interface:
int finitel(long double
x);
int finite(double x);
int finitef(float x);
/* All finite functions: Itanium®-based systems only */
Description: The fma functions return (x*y)+z.
Calling interface:
long double fmal(long double
x, long double y, long double z);
double fma(double x, double y, long double z);
float fmaf(float x, float y, long double z);
/* All the fma functions: Itanium-based systems only */
Description: The fmax function returns the maximum numeric value of its arguments.
Calling interface:
long double fmaxl(long double
x, long double y);
double fmax(double x, double y);
float fmaxf(float x, float y);
Description: The fmin function returns the minimum numeric value of its arguments.
Calling interface:
long double fminl(long double
x, long double y);
double fmin(double x, double y);
float fminf(float x, float y);
Description: The isnan function returns a nonzero value if and only if x has a NaN value.
Calling interface:
int isnanl(long double x);
int isnan(double x);
int isnanf(float x);
Description: The nextafter function returns the next representable value in the specified format after x in the direction of y.
Calling interface:
long double nextafterl(long
double x, long double y);
double nextafter(double x, double y);
float nextafterf(float x, float y);
Description: The nexttoward function returns the next representable value in the specified format after x in the direction of y. If x equals y, then the function returns y converted to the type of the function.
Calling interface:
long double nexttowardl(long
double x, long double y);
double nexttoward(double x, double y);
float nexttowardf(float x, float y);
/* All nexttoward functions: Itanium-based systems only */