跳到主要内容

ATANH

描述

返回x的反双曲正切值。如果x不在-11之间(不包括-11),则返回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 |
+--------------------+