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 | ### fmin()
Examples |
    double c = fmin(-3.5, 4.3);  // Sets c to -3.5
    double d = fmin(2.7172, 2.40);  // Sets d to 2.4
Description | The fmin() function returns the lesser of the two values x and y. If an argument is NaN, the other argument is returned. If both arguments are NaN, NaN is returned.
Syntax |
    fmin(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