ACOSH
描述
返回x
的反双曲余弦值。如果x
小于1
,则返回NULL
。
语法
ACOSH(<x>)
参数
参数 | 描述 |
---|---|
<x> | 需要计算反双曲余弦值的数值 |
返回值
参数x
的反双曲余弦值。
示例
select acosh(0.0);
+------------+
| acosh(0.0) |
+------------+
| NULL |
+------------+
select acosh(-1.0);
+-------------+
| acosh(-1.0) |
+-------------+
| NULL |
+-------------+
select acosh(1.0);
+------------+
| acosh(1.0) |
+------------+
| 0 |
+------------+
select acosh(10.0);
+-------------------+
| acosh(10.0) |
+-------------------+
| 2.993222846126381 |
+-------------------+