Returns the hyperbolic arc-tangent of the given argument
Implemented by: Gambas
With variations:
Also written as:
The BASIC Cookbook points out that BASICs which don't implement the function can achieve the same results, for a given X argument, with the following formula:
LOG((1 + X) / (1 - X))/2