/netbsd-current/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-bitops.c | 54 if (!mpz_tstbit (res, b)) 56 fprintf (stderr, "mpz_tstbit failed (after mpz_setbit):\n"); 73 if (mpz_tstbit (res, b)) 75 fprintf (stderr, "mpz_tstbit failed (after mpz_clrbit):\n"); 93 if (mpz_tstbit (res, b) != mpz_tstbit (a, b)) 95 fprintf (stderr, "mpz_tstbit failed (after mpz_combit):\n");
|
H A D | t-cong.c | 178 if (mpz_tstbit (bs, 0)) 180 if (mpz_tstbit (bs, 1)) 182 if (mpz_tstbit (bs, 2))
|
/netbsd-current/external/lgpl3/gmp/dist/mpz/ |
H A D | tstbit.c | 0 /* mpz_tstbit -- test a specified bit. 51 mpz_tstbit (mpz_srcptr u, mp_bitcnt_t bit_index) __GMP_NOTHROW
|
H A D | lucmod.c | 91 if (mpz_tstbit (n, bs))
|
/netbsd-current/external/lgpl3/gmp/dist/tests/mpz/ |
H A D | t-bit.c | 1 /* Test mpz_setbit, mpz_clrbit, mpz_tstbit. 164 /* See that mpz_tstbit matches a twos complement calculated explicitly, for 196 got = mpz_tstbit (z, i); 236 if (mpz_tstbit (x, bit) != 0) 244 if (mpz_tstbit (x, bit) != 1) 252 if (mpz_tstbit (x, bit) != 0) 260 if (mpz_tstbit (x, bit) != 1) 268 if (mpz_tstbit (x, bit) != 0) 309 bit0 = mpz_tstbit (x, bitindex); 314 bit1 = mpz_tstbit ( [all...] |
H A D | t-scan.c | 33 if (mpz_tstbit (z, i) == sought)
|
H A D | t-powm.c | 146 if (mpz_tstbit (exp2, 0))
|
/netbsd-current/external/lgpl3/gmp/dist/ |
H A D | bootstrap.c | 123 if (mpz_tstbit (prod, i) != 0)
|
/netbsd-current/external/lgpl3/gmp/dist/rand/ |
H A D | randmts.c | 130 p->mt[0] = (mpz_tstbit (seed1, 19936L) != 0) ? 0x80000000 : 0;
|
/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | cbrt.c | 151 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0)))
|
H A D | grandom.c | 132 s1 = mpz_tstbit (x, 0); 133 s2 = mpz_tstbit (x, 1);
|
H A D | pow_z.c | 87 if (mpz_tstbit (absz, i - 2)) 92 if (mpz_tstbit (absz, i))
|
H A D | random_deviate.c | 53 * extracting portions of an mpz (namely through mpz_tstbit) without hurting 255 return mpz_tstbit (x->f, x->e - k);
|
H A D | rem1.c | 138 q_is_odd = mpz_tstbit (mx, 0);
|
H A D | zeta.c | 384 if (mpz_tstbit (sint, 0) == 0) /* |sin(Pi*s/2)| is increasing: round down 407 if (mpz_tstbit (sint, 1) == 0) /* -2k < s/2 < -2k+1; sin(Pi*s/2) > 0 */
|
H A D | root.c | 175 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0)))
|
/netbsd-current/external/lgpl3/gmp/dist/demos/expr/ |
H A D | exprz.c | 178 { "tstbit", (mpexpr_fun_t) mpz_tstbit, MPEXPR_TYPE_I_BINARY_UI },
|
/netbsd-current/external/lgpl3/mpc/dist/src/ |
H A D | pow.c | 122 ymod4 = mpz_tstbit (my, 0) * 2; /* correct if my < 0 */ 125 ymod4 = mpz_tstbit (my, 1) * 2 + mpz_tstbit (my, 0); 343 if (mpz_tstbit (my, t)) /* multiply by c + I*d */
|
/netbsd-current/external/lgpl3/mpfr/dist/tests/ |
H A D | tget_z.c | 127 if (d && mpz_tstbit (ex, 0) != 0) /* even rounding */
|
/netbsd-current/external/lgpl3/gmp/dist/tests/ |
H A D | refmpz.c | 38 if (mpz_tstbit (r, bit))
|
/netbsd-current/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 | 3437 /* mpz_tstbit(n,bs) or the bit is 0 in $n$ but */ 3439 if (b0 == bs || mpz_tstbit (n, bs)) 3647 mpz_tstbit (const mpz_t d, mp_bitcnt_t bit_index) 3744 if (!mpz_tstbit (d, bit_index)) 3756 if (mpz_tstbit (d, bit_index)) 3768 if (mpz_tstbit (d, bit_index) ^ (d->_mp_size < 0)) 3630 mpz_tstbit (const mpz_t d, mp_bitcnt_t bit_index) function
|
/netbsd-current/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-current/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-current/external/lgpl3/gmp/lib/libgmp/arch/sh3el/ |
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;
|