tanh

Hyperbolic tangent

double tanh (
        double x
)

Arguments

x Argument in radians

Return value

The hyperbolic tangent of x (tanh(x)) is returned.

Explanation

The hyperbolic tangent of x is calculated and its value is returned.

See Also

sinh(), cosh()