FMAX(3) Linux Programmer's Manual FMAX(3)

fmax, fmaxf, fmaxl - find maximum value

#include <math.h>

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

Compile with -std=c99; link with -lm.

Find the larger value of x and y.

C99

fmin(3)

This page is part of release 2.72 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

2002-07-28

Different Versions of this Page: