- 类别:
数值函数 (三角函数)
ATAN¶
计算其实参的反正切值(反正切);结果是 [-pi, pi] 区间中的数字。
语法¶
ATAN( <input_expr> )
实参¶
input_exprThe value or expression to operate on. The data type must be FLOAT or DECFLOAT.
返回¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
返回范围 [-pi, pi] 内以弧度(而非度数)为单位的反正切值。
示例¶
SELECT ATAN(1); --------------+ ATAN(1) | --------------+ 0.7853981634 | --------------+