HP-UX Floating-Point Guide
208 Appendix A
The C Math Library
C Math Library Tables
int fetestexcept(int excepts); Determines which of a specified subset of
the exception flags are currently set.
void feupdateenv
(const fenv_t *envp);
Saves the current exceptions in its
automatic storage, installs the
floating-point environment represented
through envp, and then raises the saved
exceptions.
double floor(double x); Returns largest integral value not greater
than x.
double fmax(double x, double y); Returns maximum numeric value of its
arguments.
double fmin(double x, double y); Returns minimum numeric value of its
arguments.
double fmod(double x, double y); Returns floating-point remainder (f) of the
division of x by y, where f has the same
sign as x, such that x = iy + f for some
integer i, and |f| < |y|.
float fmodf(float x, float y); Returns floating-point remainder (f) of the
division of x by y, where f has the same
sign as x, such that x = iy + f for some
integer i, and |f| < |y|.
int fpclassify(floating-type x); Returns the IEEE class of x.
double frexp(double value,
int *eptr);
Returns fraction part of a double value;
stores exponent in the location pointed to
by eptr.
double gamma(double x); Returns logarithm of the absolute value of
the gamma function of x (same as
lgamma). (Obsolescent; will become true
gamma function at a future release)
double hypot(double x, double y); Returns sqrt(x * x + y * y).
int ilogb(double x); Returns the integer form of the binary
exponent of the floating-point value x.
Function What It Does