Namespaces
Variants
Views
Actions

std::fmax

From cppreference.com
< cpp‎ | numeric‎ | math
Revision as of 12:31, 26 August 2011 by Sqprogger (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cmath>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
float       fmax( float x, float y );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
double      fmax( double x, double y );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
long double fmax( long double x, long double y );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

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

Template:cpp/numeric/math/dcl list fmin