Skip to main content

ATANH

Description

Returns the hyperbolic arc tangent of x, or NULL if x is not in the range -1 to 1(excluding -1 and 1).

Syntax

ATANH(<x>)

Parameters

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

Return Value

The atanh value of parameter x.

Example

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