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

Functions

long double nearbyintl (long double x)
 Round to nearby integral value. More...
 

Function Documentation

◆ nearbyintl()

long double nearbyintl ( long double  x)

Round to nearby integral value.

The nearbyintl functions round their argument to an integer value in floating-point format, using the current rounding direction and without raising the ‘‘inexact’’ floatingpoint exception.

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