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.acosh()
function returns the inverse hyperbolic cosine of x
.
Output data type: Float
import "math"
math.acosh(x: 1.22)
// Returns 0.6517292837263685
Parameters
x
x
should be greater than 1.
If less than 1, the operation will return NaN
.
Data type: Float
Special cases
math.acosh(x: +Inf) // Returns +Inf
math.acosh(x: <1) // Returns NaN
math.acosh(x: NaN) // Returns NaN