Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

fmax, fmaxf, fmaxl - determine maximum numeric value

&pagelevel(4)&pagelevel

Definition

#include <math.h>
double fmax(double x, double y); (C11)
float fmaxf(float x, float y); (C11)
long double fmaxl(long double x, long double y);  (C11)

These functions determine the maximum numeric value of  x and y.

Return val.

x                    if x > y

y                    if x <= y

See also

fdim, fmin