lround(3) Library Functions Manual lround(3) lround, lroundf, lroundl, llround, llroundf, llroundl - (libm -lm) #include long lround(double x); long lroundf(float x); long lroundl(long double x); long long llround(double x); long long llroundf(float x); long long llroundl(long double x); glibc ( feature_test_macros(7)): : _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L ( fenv(3)). round(3) ceil(3) . . x NaN long ( long long ll*) . math_error(7) . : : x (NaN) (FE_INVALID). errno. attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |lround() | | MT-Safe | |lroundf()| | | |lroundl()| | | |llround()| | | |llroundf()| | | |llroundl() | | | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. glibc 2.1. C99 POSIX.1-2001. ceil(3), floor(3), lrint(3), nearbyint(3), rint(3), round(3) 3 . . : . 6.18 8 2026 lround(3)