fmax
From cppreference.com
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) |
| C++ documentation for fmax
| |