/netbsd/external/lgpl3/gmp/dist/tests/mpz/ |
H A D | t-bit.c | 196 got = mpz_tstbit (z, i); in check_tstbit() 236 if (mpz_tstbit (x, bit) != 0) in check_single() 244 if (mpz_tstbit (x, bit) != 1) in check_single() 252 if (mpz_tstbit (x, bit) != 0) in check_single() 260 if (mpz_tstbit (x, bit) != 1) in check_single() 268 if (mpz_tstbit (x, bit) != 0) in check_single() 309 bit0 = mpz_tstbit (x, bitindex); in check_random() 314 bit1 = mpz_tstbit (x, bitindex); in check_random() 319 bit2 = mpz_tstbit (x, bitindex); in check_random() 324 bit3 = mpz_tstbit (x, bitindex); in check_random()
|
H A D | t-scan.c | 33 if (mpz_tstbit (z, i) == sought) in refmpz_scan()
|
H A D | t-powm.c | 146 if (mpz_tstbit (exp2, 0)) in main()
|
/netbsd/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-bitops.c | 54 if (!mpz_tstbit (res, b)) in testmain() 73 if (mpz_tstbit (res, b)) in testmain() 93 if (mpz_tstbit (res, b) != mpz_tstbit (a, b)) in testmain()
|
H A D | t-cong.c | 178 if (mpz_tstbit (bs, 0)) in check_random() 180 if (mpz_tstbit (bs, 1)) in check_random() 182 if (mpz_tstbit (bs, 2)) in check_random()
|
/netbsd/external/lgpl3/mpfr/dist/src/ |
H A D | grandom.c | 132 s1 = mpz_tstbit (x, 0); in mpfr_grandom() 133 s2 = mpz_tstbit (x, 1); in mpfr_grandom()
|
H A D | pow_z.c | 87 if (mpz_tstbit (absz, i - 2)) in mpfr_pow_pos_z() 92 if (mpz_tstbit (absz, i)) in mpfr_pow_pos_z()
|
H A D | cbrt.c | 151 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0))) in mpfr_cbrt()
|
H A D | rem1.c | 138 q_is_odd = mpz_tstbit (mx, 0); in mpfr_rem1()
|
H A D | zeta.c | 384 if (mpz_tstbit (sint, 0) == 0) /* |sin(Pi*s/2)| is increasing: round down in mpfr_reflection_overflow() 407 if (mpz_tstbit (sint, 1) == 0) /* -2k < s/2 < -2k+1; sin(Pi*s/2) > 0 */ in mpfr_reflection_overflow()
|
H A D | random_deviate.c | 255 return mpz_tstbit (x->f, x->e - k); in mpfr_random_deviate_tstbit()
|
H A D | root.c | 175 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0))) in mpfr_rootn_ui()
|
/netbsd/external/lgpl3/gmp/dist/mpz/ |
H A D | tstbit.c | 51 mpz_tstbit (mpz_srcptr u, mp_bitcnt_t bit_index) __GMP_NOTHROW in mpz_tstbit() function
|
H A D | lucmod.c | 91 if (mpz_tstbit (n, bs)) in mpz_lucas_mod()
|
/netbsd/external/lgpl3/mpc/dist/src/ |
H A D | pow.c | 122 ymod4 = mpz_tstbit (my, 0) * 2; /* correct if my < 0 */ in fix_sign() 125 ymod4 = mpz_tstbit (my, 1) * 2 + mpz_tstbit (my, 0); in fix_sign() 343 if (mpz_tstbit (my, t)) /* multiply by c + I*d */ in mpc_pow_exact()
|
/netbsd/external/lgpl3/gmp/dist/rand/ |
H A D | randmts.c | 130 p->mt[0] = (mpz_tstbit (seed1, 19936L) != 0) ? 0x80000000 : 0; in randseed_mt()
|
/netbsd/external/lgpl3/gmp/dist/ |
H A D | bootstrap.c | 123 if (mpz_tstbit (prod, i) != 0) in mpz_invert_2exp()
|
/netbsd/external/lgpl3/gmp/dist/demos/expr/ |
H A D | exprz.c | 178 { "tstbit", (mpexpr_fun_t) mpz_tstbit, MPEXPR_TYPE_I_BINARY_UI },
|
/netbsd/external/lgpl3/mpfr/dist/tests/ |
H A D | tget_z.c | 127 if (d && mpz_tstbit (ex, 0) != 0) /* even rounding */ in check_one()
|
/netbsd/external/lgpl3/gmp/dist/tests/ |
H A D | refmpz.c | 38 if (mpz_tstbit (r, bit)) in refmpz_combit()
|
/netbsd/external/lgpl3/gmp/dist/mini-gmp/ |
H A D | mini-gmp.h | 230 int mpz_tstbit (const mpz_t, mp_bitcnt_t);
|
H A D | mini-gmp.c | 3423 if (b0 == bs || mpz_tstbit (n, bs)) in gmp_lucas_mod() 3630 mpz_tstbit (const mpz_t d, mp_bitcnt_t bit_index) in mpz_tstbit() function 3727 if (!mpz_tstbit (d, bit_index)) in mpz_setbit() 3739 if (mpz_tstbit (d, bit_index)) in mpz_clrbit() 3751 if (mpz_tstbit (d, bit_index) ^ (d->_mp_size < 0)) in mpz_combit()
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/coldfire/ |
H A D | gmp.h | 1103 #define mpz_tstbit __gmpz_tstbit macro 1104 __GMP_DECLSPEC int mpz_tstbit (mpz_srcptr, mp_bitcnt_t) __GMP_NOTHROW __GMP_ATTRIBUTE_PURE;
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/or1k/ |
H A D | gmp.h | 1103 #define mpz_tstbit __gmpz_tstbit macro 1104 __GMP_DECLSPEC int mpz_tstbit (mpz_srcptr, mp_bitcnt_t) __GMP_NOTHROW __GMP_ATTRIBUTE_PURE;
|
/netbsd/external/lgpl3/gmp/lib/libgmp/arch/alpha/ |
H A D | gmp.h | 1098 #define mpz_tstbit __gmpz_tstbit macro 1099 __GMP_DECLSPEC int mpz_tstbit (mpz_srcptr, mp_bitcnt_t) __GMP_NOTHROW __GMP_ATTRIBUTE_PURE;
|