hari <hariprasad81@yahoo.com> 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.
--
Torbjörn