Is there a pow-function for mpz_t and double

Martin Schmidt mschmidt at
Fri Apr 2 14:23:51 CEST 2010

Dear GNU MP users,

is there anybody able to help me with the following problem?

I have a large integer (mpz_t or mpz_class) x and a floating point (C++
double) value y and want to compute x to the power of y (x^y).

Thanks in advance,
Martin Schmidt

More information about the gmp-discuss mailing list