\[\operatorname{arctanh}x=\pm\tfrac{1}{2}\pi i+\tfrac{1}{2}\ln\left(\frac{x+1}{x%
-1}\right),\]