Alessio Rocchi on Fri, 09 Dec 2005 17:10:22 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

type conversion from GEN to mpz_t (GNU mp) types

Hi everybody.
I'm trying to expand my knowledge of Pari using it with Gnu MP.
Do u know any method to convert from GEN Pari type(long int*) to mpz_t type of GnuMP?
It would be enough to know how to make GEN a simple long int (something like the GMP function mpz_get_ui()), to make GEN usable into my code.
Thank you so much for your help.
Alessio Rocchi