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

Syntax

#include <math.h>

C11
double fmax(double x, double y);
float fmaxf(float x, float y);
long double fmaxl(long double x, long double y); (End)

Description

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(), math.h.