Share via


sign Function

Returns the sign of the argument

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

Parameters

  • _X
    Integer value

Return Value

Returns the sign of the argument

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace