Sign#

inline float Sign(float x)#

Computes the sign of a float value.

Parameters:

x[in] Input value

Returns:

-1.0f if x < 0, 1.0f otherwise