nextup(3) Library Functions Manual nextup(3) nextup, nextupf, nextupl, nextdown, nextdownf, nextdownl - , / 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. If x is the smallest representable negative number in the corresponding type, these functions return -0. If x is +0 or -0, the returned value is the smallest representable positive number of the corresponding type. x , . x , . If x is NaN, the returned value is 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 , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 21 2024 . nextup(3)