mad Function
Performs an arithmetic multiply/add operation on three arguments: _X * _Y + _Z
inline float mad(
float _X,
float _Y,
float _Z
) restrict(amp);
inline double mad(
double _X,
double _Y,
double _Z
) restrict(amp);
inline int mad(
int _X,
int _Y,
int _Z
) restrict(amp);
inline unsigned int mad(
unsigned int _X,
unsigned int _Y,
unsigned int _Z
) restrict(amp);
Parameters
_X
Unsigned integer value_Y
Unsigned integer value_Z
Unsigned integer value
Return Value
Returns _X * _Y + _Z
Requirements
Header: amp.h
Namespace: Concurrency::direct3d