sign

Function Usage

Sign function of singleton mode, which returns 1 or –1 based on the sign of the input number.

Prototype

1
inline float fastmath::sign(float x);

Parameters

Parameter

Input/Output

Description

x

Input

Number of the sign to be checked.