copysign Function
Produces a value with the magnitude of _X and the sign of _Y
inline float copysign(
float _X,
float _Y
) restrict(amp);
inline double copysign(
double _X,
double _Y
) restrict(amp);
Parameters
_X
Floating-point value_Y
Floating-point value
Return Value
Returns a value with the magnitude of _X and the sign of _Y
Requirements
Header: amp_math.h
Namespace: Concurrency::precise_math