Query: fmax
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FMAX(3) BSD Library Functions Manual FMAX(3)NAMEfmax -- return maximum valueSYNOPSIS#include <math.h> double fmax(double x, double y); long double fmaxl(long double x, long double y); float fmaxf(float x, float y);DESCRIPTIONThe fmax() functions return x or y, whichever is larger.SPECIAL VALUESIf exactly one argument is a NaN, fmax() returns the other argument. If both arguments are NaNs, fmax() returns a NaN.SEE ALSOfdim(3), fma(3), fmin(3)STANDARDSThe fmax() functions conform to ISO/IEC 9899:2011.BSDDecember 11, 2006 BSD