Calculates (d1 * d2) + d3 as a single ternary operation.
double fma(double d1, double d2, double d3);
float fmaf(float d1, float d2, float d3);
long double fmal(long double d1, long double d2, long double d3);
d1, d2, d3 Floating-point values
Result of (d1 * d2) + d3 calculated as ternary operation
The fma function group performs calculation as if infinite precision is available and rounds the result only one time in the rounding mode indicated by FLT_ROUNDS.