Returns the largest integral value not greater than or equal to the given floating-point number.
long double floorl (long double d);
d Floating-point number for which largest integral value not greater than that number is to be computed
Largest integral value not greater than or equal to d
The floor function returns the largest integral value not greater than or equal to d, expressed as a double type value. Therefore, if d is negative, the value after rounding-up of the fractional part is returned.