SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 22134: Computing inverses of COSH, SINH, and TANH (the hyperbolic cosine, sine, and tangent)

DetailsAboutRate It

Beginning in SAS 9.2, you can compute the inverse of the hyperbolic sine, cosine, and tangent using the ARSINH, ARCOSH, and ARTANH functions in the DATA step, respectively. Using these functions, you can compute the inverse hyperbolic secant at x as ARCOSH(1/x), the inverse hyperbolic cosecant at x as ARSINH(1/x), and the inverse hyperbolic cotangent at x as ARTANH(1/x).

Prior to SAS 9.2, these quantities can be computed using existing SAS functions in the DATA step as shown below:

Inverse hyperbolic sine: log(x+sqrt(x**2+1))
Inverse hyperbolic cosine: log(x+sqrt(x**2-1))
Inverse hyperbolic tangent: 0.5*log((1+x)/(1-x))

where x is the SINH, COSH, or TANH value.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASAlln/a
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.