20if (!function_exists(__NAMESPACE__ .
'\\ln')) {
21 function ln($complex): Complex
23 $complex = Complex::validateComplexArgument($complex);
25 if (($complex->getReal() == 0.0) && ($complex->getImaginary() == 0.0)) {
26 throw new \InvalidArgumentException();
An exception for terminatinating execution or to throw for unit testing.