Returns the smallest integral value not less than or equal to the given floating-point number.
f 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 f
The ceilf function returns the smallest integral value not less than or equal to f, expressed as a float type value. Therefore, if f is negative, the value after truncation of the fractional part is returned.