メインコンテンツまでスキップ
バージョン: 4.x

TANH

説明

xの双曲線正接を返します。

構文

TANH(<x>)

パラメータ

Parameterデスクリプション
<x>双曲線正接を計算する値

Return Value

パラメータxの双曲線正接。

Example

select tanh(0),tanh(1);
+-------------------------+-------------------------+
| tanh(cast(0 as DOUBLE)) | tanh(cast(1 as DOUBLE)) |
+-------------------------+-------------------------+
| 0 | 0.7615941559557649 |
+-------------------------+-------------------------+