632 B
632 B
title | description | menu | weight | ||||||
---|---|---|---|---|---|---|---|---|---|
math.acosh() function | The math.acosh() function returns the inverse hyperbolic cosine of `x`. |
|
301 |
The math.acosh()
function returns the inverse hyperbolic cosine of x
.
Output data type: Float
import "math"
math.acosh(x: 1.22)
// Returns 0.6517292837263385
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