fmaf Function

Compute (_X * _Y) + _Z, rounded as one ternary operation

inline float fmaf(
   float _X,
   float _Y,
   float _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

See Also

Reference

Concurrency::precise_math Namespace