acosh function
Return the inverse hyperbolic cosine of complex.
There is one branch cut, extending left from 1 along the real axis to -∞,
continuous from above.
Implementation
Complex<num, num> acosh(Complex complex) {
var val = complex + sqrt(complex * complex - Complex(1, 0));
return log(val);
}