fma Function
Compute (_X * _Y) + _Z, rounded as one ternary operation
inline float fma(
float _X,
float _Y,
float _Z
) restrict(amp);
inline double fma(
double _X,
double _Y,
double _Z
) restrict(amp);
Parameters
_X
Floating-point value_Y
Floating-point value_Z
Floating-point value
Return Value
Returns (_X * _Y) + _Z, rounded as one ternary operation
Requirements
Header: amp_math.h
Namespace: Concurrency::precise_math