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

Functions

float rintf (float x)
 Round to integral value. More...
 

Function Documentation

◆ rintf()

float rintf ( float  x)

Round to integral value.

The rintf functions round their argument to an integer value in floating-point format, using the current rounding direction.

Parameters
xValue to round.
Returns
The rintf functions return the rounded integer value.