Skip to main content

ACOSH

Description

Returns the hyperbolic arc cosine of x, or NULL if x is less than 1.

Syntax

ACOSH(<x>)

Parameters

ParameterDescription
<x>The value for which the hyperbolic arc cosine value is to be calculated

Return Value

The acosh value of parameter x.

Example

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 |
+-------------------+