Calculates the maximum integer value less than x and x
Returns the maximum integer value less than x and x.
If x is , floor returns and sets macro ERANGE to global variable errno.
If x is a Not-a-Number(NaN), floor returns a Not-a-Number (NaN) and sets macro EDOM to global variable errno.
This function calculates the maximum integer value less than x and x.