#include <math.h>
double
ceil
(double x
);
The ceil function computes the smallest integral value not less than x.
The ceil function returns the smallest integral value not less than x, expressed as a double.
None.
#include <math.h>
double
fabs
(double x
);
The fabs function computes the absolute value of a floating-point number x.
The fabs function returns the absolute value of x.
The fabs function is built in, and the instructions to compute the absolute value will be generated in line. Also the library contains an fabs function for use where the address of the function is needed.
#include <math.h>
double
floor
(double x
);
The floor function computes the largest integral value not greater than x.
The floor function returns the largest integral value not greater than x, expressed as a double.
None.
#include <math.h>
double
fmod
(double x ,
double y );
The fmod function computes the floating point remainder of x/y.
The fmod function returns the value x-i*y for some integer i such that, if y is nonzero, the result has the same sign as x and a magnitude less than the magnitude of y. If y is zero, whether a domain error occurs or the fmod function returns zero is implementation-defined.
If y is zero, then the floating point exception SIGFPE will be raised.
EDOM is not set.