Home | History | Annotate | Download | only in generic

Lines Matching defs:exptab

39   * The exptab and powtab vectors are in opposite orders.  Probably OK.
40 * Consider getting rid of exptab, doing bit ops on the un argument instead.
44 if exptab is suppressed.
66 int base, const size_t *exptab, size_t n_pows)
108 if (exptab[0] == ((size_t) chars_per_limb << n_pows))
114 if (((digits_in_base + chars_per_limb) << (n_pows-2)) <= exptab[0])
164 if (((digits_in_base + chars_per_limb) << pi) <= exptab[0])
180 if (pt[-1].digits_in_base < exptab[pi + 1])
187 ASSERT (pt[-1].digits_in_base + chars_per_limb == exptab[pi + 1]);
188 pt[-1].digits_in_base = exptab[pi + 1];
206 int base, const size_t *exptab, size_t n_pows)
241 if (digits_in_base != exptab[pi]) /* if ((((un - 1) >> pi) & 2) == 0) */
296 powtab_decide (size_t *exptab, size_t un, int base)
303 exptab[n_pows] = pn * chars_per_limb;
306 exptab[n_pows] = chars_per_limb;
355 size_t exptab[GMP_LIMB_BITS];
357 long n_pows = powtab_decide (exptab, un, base);
362 mpn_compute_powtab_mul (powtab, powtab_mem, un, base, exptab, n_pows);
367 mpn_compute_powtab_div (powtab, powtab_mem, un, base, exptab, -n_pows);
372 mpn_compute_powtab_mul (powtab, powtab_mem, un, base, exptab, n_pows);
376 mpn_compute_powtab_div (powtab, powtab_mem, un, base, exptab, -n_pows);