HomeSort by: relevance | last modified time | path
    Searched refs:mpz_tstbit (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /src/external/lgpl3/gmp/dist/mini-gmp/tests/
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");
t-cong.c 178 if (mpz_tstbit (bs, 0))
180 if (mpz_tstbit (bs, 1))
182 if (mpz_tstbit (bs, 2))
  /src/external/lgpl3/gmp/dist/mpz/
tstbit.c 0 /* mpz_tstbit -- test a specified bit.
51 mpz_tstbit (mpz_srcptr u, mp_bitcnt_t bit_index) __GMP_NOTHROW
lucmod.c 91 if (mpz_tstbit (n, bs))
  /src/external/lgpl3/gmp/dist/tests/mpz/
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 (x, bitindex)
    [all...]
t-scan.c 33 if (mpz_tstbit (z, i) == sought)
t-powm.c 146 if (mpz_tstbit (exp2, 0))
  /src/external/lgpl3/gmp/dist/
bootstrap.c 123 if (mpz_tstbit (prod, i) != 0)
  /src/external/lgpl3/gmp/dist/rand/
randmts.c 130 p->mt[0] = (mpz_tstbit (seed1, 19936L) != 0) ? 0x80000000 : 0;
  /src/external/lgpl3/mpfr/dist/src/
cbrt.c 151 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0)))
grandom.c 132 s1 = mpz_tstbit (x, 0);
133 s2 = mpz_tstbit (x, 1);
pow_z.c 87 if (mpz_tstbit (absz, i - 2))
92 if (mpz_tstbit (absz, i))
random_deviate.c 53 * extracting portions of an mpz (namely through mpz_tstbit) without hurting
255 return mpz_tstbit (x->f, x->e - k);
rem1.c 138 q_is_odd = mpz_tstbit (mx, 0);
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 */
root.c 175 || (rnd_mode == MPFR_RNDN && mpz_tstbit (m, 0)))
  /src/external/lgpl3/gmp/dist/demos/expr/
exprz.c 178 { "tstbit", (mpexpr_fun_t) mpz_tstbit, MPEXPR_TYPE_I_BINARY_UI },
  /src/external/lgpl3/mpc/dist/src/
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 */
  /src/external/lgpl3/mpfr/dist/tests/
tget_z.c 127 if (d && mpz_tstbit (ex, 0) != 0) /* even rounding */
  /src/external/lgpl3/gmp/dist/mini-gmp/
mini-gmp.h 230 int mpz_tstbit (const mpz_t, mp_bitcnt_t);
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
  /src/external/lgpl3/gmp/dist/tests/
refmpz.c 38 if (mpz_tstbit (r, bit))
  /src/external/lgpl3/gmp/lib/libgmp/arch/aarch64/
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;
  /src/external/lgpl3/gmp/lib/libgmp/arch/alpha/
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;
  /src/external/lgpl3/gmp/lib/libgmp/arch/arm/
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;

Completed in 150 milliseconds

1 2 3