double fmax(double x, double y);
fmax determines the maximum of x and y.
fmax (NaN, y) is y. fmax (x, NaN) is x.