19 if (!function_exists(__NAMESPACE__ .
'\\acosh')) {
20 function acosh($complex)
22 $complex = Complex::validateComplexArgument($complex);
24 if ($complex->isReal() && ($complex->getReal() > 1)) {
25 return new Complex(\acosh($complex->getReal()));
28 $acosh = acos($complex)
30 if ($acosh->getReal() < 0.0) {
31 $acosh = $acosh->invertReal();