atanh

Calculates the inverse hyperbolic tangent of x Exceptions:

InvalidOperationExceptionx is signaling NaN or |x| > 1.0
DivisionByZeroException|x| = 1.0
UnderflowExceptionthe result is too small to be represented
InexactExceptionthe result is inexact
More...
@IEEECompliant("atanh", 43)
D
atanh
(
D
)
(
auto const ref D x
)

Detailed Description

Special values

xatanh(x)
NaNNaN
±0.0±0.0
±1.0±∞
>1.0NaN
<1.0NaN

Examples

decimal32 x = 0;
assert (atanh(x) == 0);

Meta