Synopsis
#include <math.h>
double fmax(double x, double y);
Description
fmax determines the minimum of x and y.
IEC 60559 math library behavior
fmax(NaN, y) is y.
fmax(x, NaN) is x.
Portability
fmax conforms to ISO/IEC 9899:1999 (C99).
#include <math.h>
double fmax(double x, double y);
fmax determines the minimum of x and y.
fmax(NaN, y) is y.
fmax(x, NaN) is x.
fmax conforms to ISO/IEC 9899:1999 (C99).