fmax
Syntax
double fmax(double a, double b, ...)
Arguments
- a
- Any floating-point double value.
- b
- Any floating-point double value.
- ...
- Any number of floating-point double values.
Return
The higher value of all given parameters.
Description
Returns the largest of the given values.
Example
double p = fmax(1.0, 2.0); // sets p to 2.0
See Also
add, fmin, max, min, sub