isgreater(3) Library Functions Manual isgreater(3) isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - NaN (libm, -lm) #include int isgreater(x, y); int isgreaterequal(x, y); int isless(x, y); int islessequal(x, y); int islessgreater(x, y); int isunordered(x, y); glibc (. feature_test_macros(7)): All functions described here: _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L ( < -- << >>) , NaN. . C99 , . . (: , ). isgreater() (x) > (y) , x y NaN. isgreaterequal() (x) >= (y) , x y NaN. isless() (x) < (y) , x y NaN. islessequal() (x) <= (y) , x y NaN. islessgreater() determines (x) < (y) || (x) > (y) without an exception if x or y is NaN. This macro is not equivalent to x != y because that expression is true if x or y is NaN. isunordered() , (unordered), NaN. , isunordered(), ; 0, NaN. isunordered() 1, x y NaN, 0 . . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |isgreater(), | | MT-Safe | |isgreaterequal(), isless(), | | | |islessequal(), | | | |islessgreater(), | | | |isunordered() | | | +----------------------------+----------------------------------------------------------+--------------------------+ , , , . . , NaN . C11, POSIX.1-2008. POSIX.1-2001, C99. fpclassify(3), isnan(3) () Azamat Hackimov , Dmitriy S. Seregin , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . Linux man-pages 6.18 8 2026 . isgreater(3)