Jaa


tanh function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns the hyperbolic tangent of expr.

Syntax

tanh(expr)

Arguments

  • expr: An expression that evaluates to a numeric expressing the hyperbolic angle.

Returns

A DOUBLE.

Examples

> SELECT tanh(0);
 0.0