diff --git a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md new file mode 100644 index 0000000000000..f3334810aa75d --- /dev/null +++ b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md @@ -0,0 +1,93 @@ +--- +{ + "title": "ACOSH", + "language": "en" +} +--- + + + +## Description + +Returns the hyperbolic arc cosine of `x`, or `NULL` if `x` is less than `1`. + +## Syntax + +```sql +ACOSH() +``` + +## Parameters + +| Parameter | Description | +| -- | -- | +| `` | The value for which the hyperbolic arc cosine value is to be calculated | + +## Return Value + +The acosh value of parameter `x`. + +## Example + +```sql +select acosh(0.0); +``` + +```sql ++------------+ +| acosh(0.0) | ++------------+ +| NULL | ++------------+ +``` + +```sql +select acosh(-1.0); +``` + +```sql ++-------------+ +| acosh(-1.0) | ++-------------+ +| NULL | ++-------------+ +``` + +```sql +select acosh(1.0); +``` + +```sql ++------------+ +| acosh(1.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select acosh(10.0); +``` + +```sql ++-------------------+ +| acosh(10.0) | ++-------------------+ +| 2.993222846126381 | ++-------------------+ +``` diff --git a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md new file mode 100644 index 0000000000000..c6f35ff5c78d9 --- /dev/null +++ b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md @@ -0,0 +1,81 @@ +--- +{ + "title": "ASINH", + "language": "en" +} +--- + + + +## Description + +Returns the hyperbolic arc sine of `x`. + +## Syntax + +```sql +ASINH() +``` + +## Parameters + +| Parameter | Description | +| -- | -- | +| `` | The value for which the hyperbolic arc sine value is to be calculated | + +## Return Value + +The asinh value of parameter `x`. + +## Example + +```sql +select asinh(0.0); +``` + +```sql ++------------+ +| asinh(0.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select asinh(1.0); +``` + +```sql ++-------------------+ +| asinh(1.0) | ++-------------------+ +| 0.881373587019543 | ++-------------------+ +``` + +```sql +select asinh(-1.0); +``` + +```sql ++--------------------+ +| asinh(-1.0) | ++--------------------+ +| -0.881373587019543 | ++--------------------+ +``` diff --git a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md new file mode 100644 index 0000000000000..782b9b45883b3 --- /dev/null +++ b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md @@ -0,0 +1,93 @@ +--- +{ + "title": "ATANH", + "language": "en" +} +--- + + + +## Description + +Returns the hyperbolic arc tangent of `x`, or `NULL` if `x` is not in the range `-1` to `1`(excluding `-1` and `1`). + +## Syntax + +```sql +ATANH() +``` + +## Parameters + +| Parameter | Description | +| -- | -- | +| `` | The value for which the hyperbolic arc tangent value is to be calculated | + +## Return Value + +The atanh value of parameter `x`. + +## Example + +```sql +select atanh(1.0); +``` + +```sql ++------------+ +| atanh(1.0) | ++------------+ +| NULL | ++------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++-------------+ +| atanh(-1.0) | ++-------------+ +| NULL | ++-------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++------------+ +| atanh(0.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++--------------------+ +| atanh(0.5) | ++--------------------+ +| 0.5493061443340548 | ++--------------------+ +``` diff --git a/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md new file mode 100644 index 0000000000000..336766370a57c --- /dev/null +++ b/docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md @@ -0,0 +1,81 @@ +--- +{ + "title": "SINH", + "language": "en" +} +--- + + + +## Description + +Returns the hyperbolic sine of `x`. + +## Syntax + +```sql +SINH() +``` + +## Parameters + +| Parameter | Description | +| -- | -- | +| `` | The value for which the hyperbolic sine value is to be calculated | + +## Return Value + +The sinh value of parameter `x`. + +## Example + +```sql +select sinh(0.0); +``` + +``` ++-----------+ +| sinh(0.0) | ++-----------+ +| 0 | ++-----------+ +``` + +```sql +select sinh(1.0); +``` + +``` ++--------------------+ +| sinh(1.0) | ++--------------------+ +| 1.1752011936438014 | ++--------------------+ +``` + +```sql +select sinh(-1.0); +``` + +``` ++---------------------+ +| sinh(-1.0) | ++---------------------+ +| -1.1752011936438014 | ++---------------------+ +``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md new file mode 100644 index 0000000000000..6388f960b01ec --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/acosh.md @@ -0,0 +1,94 @@ +--- +{ + "title": "ACOSH", + "language": "zh-CN" +} +--- + + + +## 描述 + +返回`x`的反双曲余弦值。如果`x`小于`1`,则返回`NULL`。 + + +## 语法 + +```sql +ACOSH() +``` + +## 参数 + +| 参数 | 描述 | +| -- | -- | +| `` | 需要计算反双曲余弦值的数值 | + +## 返回值 + +参数`x`的反双曲余弦值。 + +## 示例 + +```sql +select acosh(0.0); +``` + +```sql ++------------+ +| acosh(0.0) | ++------------+ +| NULL | ++------------+ +``` + +```sql +select acosh(-1.0); +``` + +```sql ++-------------+ +| acosh(-1.0) | ++-------------+ +| NULL | ++-------------+ +``` + +```sql +select acosh(1.0); +``` + +```sql ++------------+ +| acosh(1.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select acosh(10.0); +``` + +```sql ++-------------------+ +| acosh(10.0) | ++-------------------+ +| 2.993222846126381 | ++-------------------+ +``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md new file mode 100644 index 0000000000000..34e2158263ea1 --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/asinh.md @@ -0,0 +1,83 @@ +--- +{ + "title": "ASINH", + "language": "zh-CN" +} +--- + + + +## 描述 + +返回`x`的反双曲正弦值。 + + +## 语法 + +```sql +ASINH() +``` + +## 参数 + +| 参数 | 描述 | +| -- | -- | +| `` | 需要计算反双曲正弦值的数值 | + +## 返回值 + +参数`x`的反双曲正弦值。 + +## 示例 + +```sql +select asinh(0.0); +``` + +```sql ++------------+ +| asinh(0.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select asinh(1.0); +``` + +```sql ++-------------------+ +| asinh(1.0) | ++-------------------+ +| 0.881373587019543 | ++-------------------+ +``` + +```sql +select asinh(-1.0); +``` + +```sql ++--------------------+ +| asinh(-1.0) | ++--------------------+ +| -0.881373587019543 | ++--------------------+ +``` + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md new file mode 100644 index 0000000000000..6a03cb3b0d774 --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/atanh.md @@ -0,0 +1,94 @@ +--- +{ + "title": "ATANH", + "language": "zh-CN" +} +--- + + + +## 描述 + +返回`x`的反双曲正切值。如果`x`不在`-1`到`1`之间(不包括`-1`和`1`),则返回`NULL`。 + + +## 语法 + +```sql +ATANH() +``` + +## 参数 + +| 参数 | 描述 | +| -- | -- | +| `` | 需要计算反双曲正切值的数值 | + +## 返回值 + +参数`x`的反双曲正切值。 + +## 示例 + +```sql +select atanh(1.0); +``` + +```sql ++------------+ +| atanh(1.0) | ++------------+ +| NULL | ++------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++-------------+ +| atanh(-1.0) | ++-------------+ +| NULL | ++-------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++------------+ +| atanh(0.0) | ++------------+ +| 0 | ++------------+ +``` + +```sql +select atanh(1.0); +``` + +```sql ++--------------------+ +| atanh(0.5) | ++--------------------+ +| 0.5493061443340548 | ++--------------------+ +``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md new file mode 100644 index 0000000000000..2635c85698f5a --- /dev/null +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/numeric-functions/sinh.md @@ -0,0 +1,82 @@ +--- +{ + "title": "SINH", + "language": "zh-CN" +} +--- + + + +## 描述 + +返回`x`的双曲正弦值。 + + +## 语法 + +```sql +SINH() +``` + +## 参数 + +| 参数 | 描述 | +| -- | -- | +| `` | 需要计算双曲正弦值的数值 | + +## 返回值 + +参数`x`的双曲正弦值。 + +## 示例 + +```sql +select sinh(0.0); +``` + +``` ++-----------+ +| sinh(0.0) | ++-----------+ +| 0 | ++-----------+ +``` + +```sql +select sinh(1.0); +``` + +``` ++--------------------+ +| sinh(1.0) | ++--------------------+ +| 1.1752011936438014 | ++--------------------+ +``` + +```sql +select sinh(-1.0); +``` + +``` ++---------------------+ +| sinh(-1.0) | ++---------------------+ +| -1.1752011936438014 | ++---------------------+ +``` diff --git a/sidebars.json b/sidebars.json index 80541e5f3ab81..4f0da0c556395 100644 --- a/sidebars.json +++ b/sidebars.json @@ -909,6 +909,10 @@ "sql-manual/sql-functions/scalar-functions/numeric-functions/atan2", "sql-manual/sql-functions/scalar-functions/numeric-functions/bin", "sql-manual/sql-functions/scalar-functions/numeric-functions/sin", + "sql-manual/sql-functions/scalar-functions/numeric-functions/sinh", + "sql-manual/sql-functions/scalar-functions/numeric-functions/asinh", + "sql-manual/sql-functions/scalar-functions/numeric-functions/acosh", + "sql-manual/sql-functions/scalar-functions/numeric-functions/atanh", "sql-manual/sql-functions/scalar-functions/numeric-functions/cbrt", "sql-manual/sql-functions/scalar-functions/numeric-functions/cos", "sql-manual/sql-functions/scalar-functions/numeric-functions/cosh",