Namespaces
Variants
Views
Actions

fmax

From cppreference.com
< c | numeric | math
Revision as of 07:03, 20 April 2012 by P12 (Talk | contribs)

Template:c/numeric/math/sidebar

Defined in header <math.h>
float       fmaxf( float x, float y );
(since C99)
double      fmax( double x, double y );
(since C99)
long double fmaxl( long double x, long double y );
(since C99)

Returns the larger of two floating point arguments.

Parameters

x, y - floating point values

Return value

The larger of two floating point values.

See also

(C99)
smaller of two floating point values
(function) [edit]