Regarding power function

Torbjorn Granlund
13 Feb 2003 00:08:16 +0100

hari <> writes:

      Iam implementing a program using gmp lib. But i
  wasnt able to do a^b because gmp doesnt have that
  function where as it has a^b mod c. 
        It would be great if any one of you would let me
  know is there any power function to calculate power of
  an mpz_t type of variable.
There are such functions.  You need to read the manual better.