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



x should be greater than 1. If less than 1, the operation will return NaN.

Special cases

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

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.