Search wiring.org.co:

Reference for Wiring version 0024+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name | ### fmax()
Examples |
    double c = fmax(-3.5, 4.3);  // Sets c to 4.3
    double d = fmax(2.7172, 2.40);  // Sets d to 2.7172
Description | The fmax() function returns the greater of the two values x and y. If an argument is NaN (not a number), the other argument is returned. If both arguments are NaN, NaN is returned.
Syntax |
    fmax(x, y)
Parameters |
x | double, float or int
y | double, float or int
Returns | double
Usage | Application

Updated on January 11, 2010 09:58:45pm PST