math.sinh() function

Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.50 is the most recent stable version of Flux.

The math.sinh() function returns the hyperbolic sine of x.

Output data type: Float

import "math"

math.sinh(x: 1.23)

// Returns 1.564468479304407

Parameters

x

The value used in the operation.

Data type: Float

Special cases

math.sinh(x: ±0)   // Returns ±0
math.sinh(x: ±Inf) // Returns ±Inf
math.sinh(x: NaN)  // Returns NaN