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.

posted on 2017-07-03 11:29  westwindrest  阅读(168)  评论(0编辑  收藏  举报