getReal() == 0.0 && $complex->getImaginary() == 0.0) { return new Complex(INF); } return inverse(tan($complex)); } }