Returns the smallest integral value not less than or equal to the given floating-point number.
long double ceill (long double d);
d Floating-point number for which smallest integral value not less than that number is to be computed
Smallest integral value not less than or equal to d
The ceil function returns the smallest integral value not less than or equal to d, expressed as a double type value. Therefore, if d is negative, the value after truncation of the fractional part is returned.