Lines Matching refs:mpz_tstbit
1 /* Test mpz_setbit, mpz_clrbit, mpz_tstbit.
142 /* See that mpz_tstbit matches a twos complement calculated explicitly, for
174 got = mpz_tstbit (z, i);
214 if (mpz_tstbit (x, bit) != 0)
222 if (mpz_tstbit (x, bit) != 1)
230 if (mpz_tstbit (x, bit) != 0)
238 if (mpz_tstbit (x, bit) != 1)
246 if (mpz_tstbit (x, bit) != 0)
287 bit0 = mpz_tstbit (x, bitindex);
292 bit1 = mpz_tstbit (x, bitindex);
297 bit2 = mpz_tstbit (x, bitindex);
302 bit3 = mpz_tstbit (x, bitindex);