fmax(3) Library Functions Manual fmax(3) fmax, fmaxf, fmaxl - (libm -lm) #include double fmax(double x, double y); float fmaxf(float x, float y); long double fmaxl(long double x, long double y); glibc ( feature_test_macros(7)): fmax(), fmaxf(), fmaxl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L x y. x y. NaN . NaN NaN. . attributes(7). +------------+------------------------------------+--------------------+ || | | +------------+------------------------------------+--------------------+ |fmax(), | | MT-Safe | |fmaxf(), | | | |fmaxl() | | | +------------+------------------------------------+--------------------+ C11, POSIX.1-2008. glibc 2.1. C99 POSIX.1-2001. fdim(3), fmin(3) 3 . . : . 6.18 8 2026 fmax(3)