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

Functions

long long int llrintl (long double x)
 Round and cast to long long integer. More...
 

Function Documentation

◆ llrintl()

long long int llrintl ( long double  x)

Round and cast to long long integer.

The llrintl function round their argument to the nearest integer value, rounding according to the current rounding direction. If the rounded value is outside the range of the return type, the numeric result is unspecified and a domain error or range error may occur.

Parameters
xValue to round.
Returns
The llrintl function return the rounded integer value.