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 | ### fma()
Examples |
    double c = fma(2, 3, 4);  // Sets c to 2 * 3 + 4
Description | The fma(x, y, z) function performs floating-point multiply-add. This is the operation (x * y) + z, but the intermediate result is not rounded to the destination type. This can sometimes improve the precision of a calculation.
Syntax |
    fma(x, y, x)
Parameters |
x | double, float or int
y | double, float or int
z | double, float or int
Returns | double
Usage | Application

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