ATANH
描述
返回x
的反双曲正切值。如果x
不在-1
到1
之间(不包括-1
和1
),则返回NULL
。
语法
ATANH(<x>)
参数
参数 | 描述 |
---|---|
<x> | 需要计算反双曲正切值的数值 |
返回值
参数x
的反双曲正切值。
示例
select atanh(1.0);
+------------+
| atanh(1.0) |
+------------+
| NULL |
+------------+
select atanh(1.0);
+-------------+
| atanh(-1.0) |
+-------------+
| NULL |
+-------------+
select atanh(1.0);
+------------+
| atanh(0.0) |
+------------+
| 0 |
+------------+
select atanh(1.0);
+--------------------+
| atanh(0.5) |
+--------------------+
| 0.5493061443340548 |
+--------------------+