Searched refs:ptoj (Results 1 - 3 of 3) sorted by relevance

/haiku-buildtools/gcc/mpfr/src/
H A Dexp3.c35 we don't need to compute P(), we only precompute p^(2^j) in the ptoj[] array
46 mpz_t *S, *ptoj; local
55 ptoj = Q + 2*(m+1); /* ptoj[i] = mantissa^(2^i) */
65 mpz_set (ptoj[0], p);
67 mpz_mul (ptoj[k], ptoj[k-1], ptoj[k-1]); /* ptoj[k] = p^(2^k) */
90 mpz_mul (S[k], S[k], ptoj[
[all...]
H A Dsin_cos.c287 mpz_t T[GMP_NUMB_BITS], Q[GMP_NUMB_BITS], ptoj[GMP_NUMB_BITS], pp; local
317 mpz_init_set (ptoj[0], pp); /* ptoj[i] = pp^(2^i) */
320 mpz_init (ptoj[1]);
321 mpz_mul (ptoj[1], pp, pp); /* ptoj[1] = pp^2 */
322 size_ptoj[1] = mpz_sizeinbase (ptoj[1], 2);
344 mpz_init (ptoj[k+1]);
345 mpz_mul (ptoj[k+1], ptoj[
[all...]
H A Datan.c40 mpz_t *S, *Q, *ptoj; local
54 ptoj = S + 1*(m+1); /* p^2^j Precomputed table */
87 /* p <> 1: precompute ptoj table */
88 mpz_set (ptoj[0], p);
90 mpz_mul (ptoj[im], ptoj[im - 1], ptoj[im - 1]);
110 mpz_mul (S[k], S[k], ptoj[l]);
117 MPFR_MPZ_SIZEINBASE2(mult, ptoj[l+1]);
118 /* FIXME: precompute bits(ptoj[
[all...]

Completed in 89 milliseconds