Skip to main content

tanh

Overloads

NameDescription
tanh(integer arg) -> realCalculates the hyperbolic tangent of the given value.
tanh(real arg) -> realCalculates the hyperbolic tangent of the given value.
tanh(bool arg) -> realCalculates the hyperbolic tangent of the given value.
tanh(complex arg) -> complexCalculates the hyperbolic tangent of the given value.

tanh(integer arg) -> real

Calculates the hyperbolic tangent of the given value.

Parameters

  • arg: The value to calculate the hyperbolic tangent for.

tanh(real arg) -> real

Calculates the hyperbolic tangent of the given value.

Parameters

  • arg: The value to calculate the hyperbolic tangent for.

tanh(bool arg) -> real

Calculates the hyperbolic tangent of the given value.

Parameters

  • arg: The value to calculate the hyperbolic tangent for.

tanh(complex arg) -> complex

Calculates the hyperbolic tangent of the given value.

Parameters

  • arg: The value to calculate the hyperbolic tangent for.