math.acosh() function

The math.acosh() function returns the inverse hyperbolic cosine of x.

*Output data type: Float*

  1. import "math"
  2. math.acosh(x: 1.22)
  3. // 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

  1. math.acosh(x: +Inf) // Returns +Inf
  2. math.acosh(x: <1) // Returns NaN
  3. math.acosh(x: NaN) // Returns NaN