company logo

Value :: tanh - Calculate hyperbolic tangent

The function returns the hyperbolic tangent for the value.

Return value:  Double value ( double  )

A double value is a 64 bit floating number.

Implementation details

double Value  :: tanh (  )

The function converts the value into a double float point value. When conversion fails, the function throws an exception. Otherwise, the function calculates the hyperbolic tangent.