HomeSort by: relevance | last modified time | path
    Searched refs:big_base (Results 1 - 8 of 8) sorted by relevancy

  /src/external/lgpl3/gmp/dist/
gen-bases.c 37 mpz_t big_base; variable
60 mpz_init_set (bbo, big_base);
72 mpz_set_ui (big_base, (long) base);
74 while (mpz_cmp (big_base, t) <= 0)
76 mpz_mul_ui (big_base, big_base, (long) base);
80 mpz_ui_pow_ui (big_base, (long) base, (long) chars_per_limb);
82 normalization_steps = limb_bits - mpz_sizeinbase (big_base, 2);
86 mpz_tdiv_q (big_base_inverted, t, big_base);
109 mpz_out_str (stdout, 16, big_base);
    [all...]
gmp-impl.h 2904 factors of base. Exception: For 2, 4, 8, etc, big_base is log2(base),
2906 mp_limb_t big_base; member in struct:bases
2908 /* A GMP_LIMB_BITS bit approximation to 1/big_base, represented as a
2909 fixed-point number. Instead of dividing by big_base an application can
2966 __lb_base = mp_bases[base].big_base; \
  /src/external/lgpl3/gmp/dist/mpn/generic/
set_str.c 80 int bits_per_indigit = mp_bases[base].big_base;
124 /* Allocate one large block for the powers of big_base. */
204 mp_limb_t big_base; local
212 big_base = mp_bases[base].big_base;
242 cy_limb = mpn_mul_1c (rp, rp, size, big_base, res_digit);
244 cy_limb = mpn_mul_1 (rp, rp, size, big_base);
252 big_base = base;
260 big_base *= 10;
268 big_base *= base
    [all...]
compute_powtab.c 76 mp_limb_t big_base = mp_bases[base].big_base; local
87 p[0] = big_base;
94 t[1] = mpn_mul_1 (t, p, 1, big_base);
119 t[n] = cy = mpn_mul_1 (t, p, n, big_base);
166 t[n] = cy = mpn_mul_1 (t, t, n, big_base);
184 p[n] = cy = mpn_mul_1 (p, p, n, big_base);
210 mp_limb_t big_base = mp_bases[base].big_base; local
225 p[0] = big_base;
    [all...]
get_str.c 249 mp_limb_t big_base, big_base_inverted;
253 big_base = mp_bases[base].big_base;
255 count_leading_zeros (normalization_steps, big_base);
265 big_base, big_base_inverted,
389 int bits_per_digit = mp_bases[base].big_base;
438 /* Allocate one large block for the powers of big_base. */
248 mp_limb_t big_base, big_base_inverted; local
  /src/external/lgpl3/gmp/dist/tests/mpn/
t-mp_bases.c 76 if (mp_bases[base].big_base != want_bb)
78 printf ("mp_bases[%d].big_base (log2 of base) wrong\n", base);
85 if (mp_bases[base].big_base != want_bb)
87 printf ("mp_bases[%d].big_base wrong\n", base);
  /src/external/lgpl3/gmp/dist/tune/
common.c 2444 d = mp_bases[10].big_base; \
2576 d = mp_bases[10].big_base;
2617 d = mp_bases[10].big_base;
  /src/external/lgpl3/gmp/dist/mpn/x86/k7/mmx/
divrem_1.asm 91 C probably occurs infrequently, in particular note that big_base for a

Completed in 33 milliseconds