ARTANH Function

Returns the inverse hyperbolic tangent.

Category: Hyperbolic

Syntax

ARTANH(x)

Required Argument

x

specifies a numeric constant, variable, or expression.

Range –1 < x < 1

Details

The ARTANH function computes the inverse hyperbolic tangent. The ARTANH function is mathematically defined by the following equation, where –1 < x< 1: A R T A N H ( x ) = 1 2 l o g ( 1 + x 1 - x )

Example

The following example computes the inverse hyperbolic tangent.
data _null_;
   x=artanh(0.5);
   put x=;
run;
SAS writes the following output to the log:
x=0.5493061443