"Christian P. MOMON" <email@example.com> writes: > > mpz_t has the "int mpz_odd_p (mpz_t op)" function. > > What is the method for the mpz_class ? There isn't one currently. Have to lobby Gerardo to make one. Until then you can use get_mpz_t() as described in the manual. > Same for even, size, sizeinbase ? Ditto. Except you probably don't want to use mpz_size, it's not really good for much.