Name

fmax, fmaxf, fmaxl — find maximum value

Synopsis

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

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

DESCRIPTION

Return the larger value of x and y.

CONFORMING TO

C99

SEE ALSO

fmin(3)

COLOPHON

This page is part of release 2.79 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/.


  Copyright 2002 Walter Harms (walter.harmsinformatik.uni-oldenburg.de)
Distributed under GPL