MicrOS
floorf.c File Reference
#include "../math.h"

Functions

float floorf (float x)
 Round down value. More...
 

Function Documentation

◆ floorf()

float floorf ( float  x)

Round down value.

The floorf functions compute the largest integer value not greater than x.

Parameters
xValue to round down.
Returns
The floorf functions return ⎣x⎦, expressed as a floating-point number.