7.12.13.1 The fma functions

Synopsis

1

#include <math.h>
double fma(double x, double y, double z);
float fmaf(float x, float y, float z);
long double fmal(long double x, long double y,
     long double z);

Description

2

The fma functions compute (x y) + z, rounded as one ternary operation: they compute the value (as if) to infinite precision and round once to the result format, according to the current rounding mode. A range error may occur.

Returns

3

The fma functions return (x y) + z, rounded as one ternary operation.