docs-v2/content/v2.0/reference/flux/stdlib/math/sinh.md

38 lines
615 B
Markdown

---
title: math.sinh() function
description: The math.sinh() function returns the hyperbolic sine of `x`.
aliases:
- /v2.0/reference/flux/functions/math/sinh/
menu:
v2_0_ref:
name: math.sinh
parent: Math
weight: 301
---
The `math.sinh()` function returns the hyperbolic sine of `x`.
_**Output data type:** Float_
```js
import "math"
math.sinh(x: 1.23)
// Returns 1.564468479304407
```
## Parameters
### x
The value used in the operation.
_**Data type:** Float_
## Special cases
```js
math.sinh(x: ±0) // Returns ±0
math.sinh(x: ±Inf) // Returns ±Inf
math.sinh(x: NaN) // Returns NaN
```