7.12.9.2 The floor functions
Synopsis
#include <math.h>
double floor(double x);
float floorf(float x);
long double floorl(long double x);
Description
The floor functions compute the largest integer value not greater than x.
Returns
The floor functions return ⌊x⌋, expressed as a floating-point number.