ATANH scalar function
The ATANH function returns the hyperbolic arc tangent of a number, expressed in radians. The ATANH and TANH functions are inverse operations.
The schema is SYSIBM.
The argument must be an expression that returns the value of any built-in numeric data type that is not DECFLOAT. The value must be greater than -1 and less than 1. If the argument is not a double precision floating-point number, it is converted to one for processing by the function.
The result of the function is a double precision floating-point number.
The result can be null; if the argument is null, the result is the null value.
Example: Assume that host variable HATAN is DECIMAL(10,9)
with a value of 0.905148254. The following statement returns a double
precision floating-point number with an approximate value of 1.50:
SELECT ATANH(:HATAN)
FROM SYSIBM.SYSDUMMY1;