nextup(3) Library Functions Manual nextup(3) nextup, nextupf, nextupl, nextdown, nextdownf, nextdownl - , / LIBRARY Math library (libm, -lm) #define _GNU_SOURCE /* feature_test_macros(7) */ #include double nextup(double x); float nextupf(float x); long double nextupl(long double x); double nextdown(double x); float nextdownf(float x); long double nextdownl(long double x); nextup(), nextupf() nextupl() , x. x -- , -0. x 0, . x , . x , . x NaN, NaN. , nextdown(x), -nextup(-x) . . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |nextup(), nextupf(), | | MT-Safe | |nextupl(), nextdown(), | | | |nextdownf(), nextdownl() | | | +----------------------------+----------------------------------------------------------+--------------------------+ IEEE Std 754-2008 - Standard for Floating-Point Arithmetic ISO/IEC TS 18661. glibc 2.24. . nearbyint(3), nextafter(3) Alex Nik , Azamat Hackimov , Dmitry Bolkhovskikh , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . nextup(3)