HomeSort by: relevance | last modified time | path
    Searched defs:big_base (Results 1 - 5 of 5) 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

Completed in 20 milliseconds