4 lines
90 B
C
4 lines
90 B
C
mpz_t x;
|
|
...
|
|
if (mpz_even_p(x)) { /* x is even */ }
|
|
if (mpz_odd_p(x)) { /* x is odd */ }
|