/**
  * @return GmpBigInteger
  **/
 public function pow(BigInteger $exp)
 {
     $result = new self();
     $result->resource = gmp_pow($this->resource, $exp->intValue());
     return $result;
 }