Sign function of singleton mode, which returns 1 or –1 based on the sign of the input number.
1
inline float fastmath::sign(float x);
Parameter
Input/Output
Description
x
Input
Number of the sign to be checked.