C++ pieces
standard lib
fmax
double fmax (double x, double y);
float fmax (float x, float y);
long double fmax (long double x, long double y);
double fmax (Type1 x , Type2 y); // additional overloads
Maximum value
Returns the larger of its arguments: either x or y.
If one of the arguments in a NaN, the other is returned.