Inverse hyperbolic tangent (source code)

= Inverse hyperbolic tangent
{title2=$\operatorname{artanh}$}

For $|x|<1$, the inverse hyperbolic tangent is
$$
\operatorname{artanh}x=\frac12\log\frac{1+x}{1-x}.
$$