Investment Studio > Expressions > Functions > Math & Trig > TANH

float tanh(float argument)

Returns the hyperbolic tangent of the argument. The argument can be any real number.

Examples

=tanh(0)

equals 0;

=tanh(10)

equals 0.999999995877693, while

=tanh(-10)

equals -0.999999995877693 (the hyperbolic tangent is antisymmetric).

See also atanh, cosh, sinh.