Previous Page | Next Page

Functions and CALL Routines

TANH Function



Returns the hyperbolic tangent.
Category: Hyperbolic

Syntax
Arguments
Details
Examples

Syntax

TANH(argument)

Arguments

argument

specifies a numeric constant, variable, or expression.


Details

The TANH function returns the hyperbolic tangent of the argument, which is given by

[equation]


Examples

SAS Statements Results
x=tanh(0);
0
x=tanh(0.5);
0.4621171573
x=tanh(-0.5);
-0.462117157

Previous Page | Next Page | Top of Page