lround(3) Library Functions Manual lround(3) lround, lroundf, lroundl, llround, llroundf, llroundl - LIBRARY Math library (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)).u , round(3) ceil(3), . . x NaN , long (long long ll*), , . math_error(7), , . : : x NaN , (FE_INVALID). errno. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |lround(), lroundf(), | | MT-Safe | |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) Artyom Kunyov , Azamat Hackimov , Dmitry Bolkhovskikh , Katrin Kutepova , Konstantin Shvaykovskiy , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . lround(3)