SQLite atanh() Function
The SQLite atanh()
function returns the inverse hyperbolic tangent of the specified number.
Syntax
Here is the syntax of the SQLite atanh()
function:
atanh(number)
Parameters
number
-
Required. A number used to compute the inverse hyperbolic tangent. It must be between -1 and 1 (inclusive).
Return value
The SQLite atanh()
function returns the inverse hyperbolic tangent of the specified number.
If the value of the parameter is not between -1
and 1
(including -1
and 1
), the atanh()
function returns NULL
.
If the parameter number
is NULL
, the atanh()
function will return NULL
.
Examples
This example shows the basic usage of the SQLite atanh()
function:
SELECT
atanh(-1),
atanh(-0.5),
atanh(0),
atanh(0.5),
atanh(1);
atanh(-1) = -Inf
atanh(-0.5) = -0.549306144334055
atanh(0) = 0.0
atanh(0.5) = 0.549306144334055
atanh(1) = Inf