atanh

fnreal atanh(real x) @safe pure nothrow @nogc

Calculates the inverse hyperbolic tangent of x, returning a value from ranging from -1 to 1.

Mathematically, atanh(x) = log( (1+x)/(1-x) ) / 2

-∞..∞,

-1 .. 1


x, acosh(x) NaN, NaN ±0, ±0 -∞, -0
fndouble atanh(double x) @safe pure nothrow @nogc

ditto

fnfloat atanh(float x) @safe pure nothrow @nogc

ditto