long int lroundl(long double x)
long long int llround(double x)
long long int llroundf(float x)
long long int llroundl(long double x)
These functions round x to the nearest integer value. If x is just in the middle, the value in the direction farther away from 0 is selected, regardless of the current rounding direction.