ceil() - smallest integral value greater than or equal to x
#include <math.h>
double ceil (double x)
The ceil(3) function computes the smallest integral value not less than x.
The ceil(3) function returns a double that is the smallest integral value greater than or equal to x.
The ceil(3) function can fail for the following reasons:
abs(3)
fabs(3)
floor(3)