getReal() == 0.0 && $complex->getImaginary() == 0.0) { throw new \InvalidArgumentException('Division by zero'); } return $complex->divideInto(1.0); }