math.acosh() function

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

This documentation is open source. See a typo? Please, open an issue.


Need help getting up and running? Get Support