ceil [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
ceil
Computes the ceiling function that finds the smallest integer that is
greater than or equal to the specified real number.
Syntax
#include <math.h>
double ceil (double x);
Parameters
x A real number.
Return Values
n An integer value of type double.
Description
The ceil function returns the smallest integer not less than the argument
x.
See Also
floor(), fmod(), ANSI C 4.5.6.1, POSIX.1 8.1
MPE/iX 5.0 Documentation