sign
Function Usage
Sign function, which returns 1 or -1 based on the sign of the input number.
Prototype
inline flot sign(float x);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
x |
Input |
Number of the sign to be checked |
Parent topic: FastMath