Rounds a floating-point number to the nearest integer according to the current rounding direction.
long int lrintl(long double d);
long long int llrint(double d);
long long int llrintf(float d);
long long int llrintl(long double d);
d Value to be rounded to an integer
Normal: d rounded to an integer
Abnormal: Range error: Returns an undetermined value.
A range error may occur if the absolute value of d is too large.
The return value is unspecified when the rounded value is not in the range of the return value type.