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

Functions

double rint (double x)
 Round to integral value. More...
 

Function Documentation

◆ rint()

double rint ( double  x)

Round to integral value.

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

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