19 if (!function_exists(__NAMESPACE__ .
'\\asin')) {
20 function asin($complex):
Complex 22 $complex = Complex::validateComplexArgument($complex);
24 $square = multiply($complex, $complex);
26 $invsqrt = subtract($invsqrt, $square);
27 $invsqrt = sqrt($invsqrt);
29 $invsqrt->getReal() - $complex->getImaginary(),
30 $invsqrt->getImaginary() + $complex->getReal()