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