Exponential and logarithmic functions
double exp(double x);
Exponential function of X.
double frexp(double x, int* e);
Break VALUE into a normalized fraction and an integral power of 2.
double ldexp(double x, int e);
X times (two to the EXP power).
double log(double x);
Natural logarithm of X.
double log10(double x);
Base-ten logarithm of X.
double modf(double x, double* iptr);
Break VALUE into integral and fractional parts.
double exp10(double x);
A function missing in all standards: compute exponent to base ten.
double pow10(double x);
Another name occasionally used.
LIB_VERSION_TYPE LIB_VERSION;
This variable can be changed at run-time to any of the values above to
affect floating point error handling behavior (it may also be necessary
to change the hardware FPU exception settings).
enum LIB_VERSION_TYPE { IEEE=- 1, SVID, XOPEN, POSIX, ISOC};
Nearest integer, absolute value, and remainder functions
double ceil(double x);
Smallest integral value not less than X.
double fabs(double x);
Absolute value of X.
double floor(double x);
Largest integer not greater than X.
double fmod(double x, double y);
Floating-point modulo remainder of X/Y.
int isinf(double x);
Return 0 if VALUE is finite or NaN, +1 if it
is +Infinity, -1 if it is -Infinity.
int isfinite(double x);
Return nonzero if VALUE is finite and not NaN.
int isnan(double x);
Return nonzero if VALUE is not a number.
double pow(double x, double y);
Return X to the Y power.
double sqrt(double x);
Return the square root of X.
double hypot(double x, double y);
Return `sqrt(X*X + Y*Y)'.
double cbrt(double x);
Return the cube root of X.