sign Function

Returns the sign of the argument

inline int sign(
   float _X
) restrict(amp);
inline int sign(
   int _X
) restrict(amp);

_X

Integer value

Returns the sign of the argument

Header: amp.h

Namespace: Concurrency::direct3d

Show: