Categories: Numeric

TANH

Computes the hyperbolic tangent of the input expression.

Syntax

TANH(numeric_expression double) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

SELECT TANH(1.5);
-- 0.9051482536448664

TANH(numeric_expression int64) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

SELECT TANH(1);
-- 0.7615941559557649

TANH(numeric_expression float) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

SELECT TANH(1.5);
-- 0.9051482536448664

TANH(numeric_expression int32) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

SELECT TANH(1);
-- 0.7615941559557649