sign
函数功能
符号函数,根据输入数字的符号返回1或-1。
函数原型
inline flot FastMath::sign(float x);
参数说明
参数名
输入/输出
说明
x
输入
待判断符号的数字。
父主题:
FastMath