Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.39 KB

File metadata and controls

59 lines (41 loc) · 1.39 KB
description
Computes the hyperbolic tangent of the input expression.

TANH

Syntax

TANH(numeric_expression double) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

{% code title="TANH example" %}

SELECT TANH(1.5);
-- 0.9051482536448664

{% endcode %}

TANH(numeric_expression int64) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

{% code title="TANH example" %}

SELECT TANH(1);
-- 0.7615941559557649

{% endcode %}

TANH(numeric_expression float) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

{% code title="TANH example" %}

SELECT TANH(1.5);
-- 0.9051482536448664

{% endcode %}

TANH(numeric_expression int32) → double

  • numeric_expression: Input expression to calculate tanh for.

Examples

{% code title="TANH example" %}

SELECT TANH(1);
-- 0.7615941559557649

{% endcode %}