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