src/Chippyash/Math/Type/Calculator/Native.php
private function intComplexPow($a, ComplexType $exp)
    {
        if ($exp->isZero()) {
            return new IntType(1);
        }
        return $this->complexExponent($a, $exp);
    }
private function intComplexPow($a, ComplexType $exp)
    {
        if ($exp->isZero()) {
            return new IntType(1);
        }
        return $this->complexExponent($a, $exp);
    }
private function intComplexPow ( $ a , ComplexType $ exp ) { if ( $ exp -> isZero ( ) ) { return new IntType ( 1 ) ; } return $ this -> complexExponent ( $ a , $ exp ) ; }
Create Complex power from  an integer

@param int $a operand
@param ComplexType $exp exponent

@return NI|ComplexType|IntType
Create Complex power from an integer