Searched refs:log2_nb_terms (Results 1 – 3 of 3) sorted by relevance
47 mpfr_prec_t *log2_nb_terms; in mpfr_exp_rational() local56 log2_nb_terms = mult + (m+1); in mpfr_exp_rational()74 log2_nb_terms[0] = 0; /* log2(#terms) [exact in 1st loop where 2^k] */ in mpfr_exp_rational()84 log2_nb_terms[k] = 0; /* 1 term */ in mpfr_exp_rational()101 log2_nb_terms[k-1] ++; /* number of terms in S[k-1] in mpfr_exp_rational()120 j = log2_nb_terms[k-1]; in mpfr_exp_rational()123 h += (mp_bitcnt_t) 1 << log2_nb_terms[k]; in mpfr_exp_rational()
99 mpfr_prec_t accu[MPFR_PREC_BITS], log2_nb_terms[MPFR_PREC_BITS]; in mpfr_atan_aux() local197 log2_nb_terms[k] = 1; /* S[k]/Q[k] corresponds to 2 terms */ in mpfr_atan_aux()209 log2_nb_terms[k-1] = l + 1; in mpfr_atan_aux()232 log2_nb_terms[k] = 1; /* S[k]/Q[k] corresponds to 2 terms */ in mpfr_atan_aux()241 log2_nb_terms[k-1] = l + 1; in mpfr_atan_aux()254 mpz_mul (S[k], S[k], ptoj[log2_nb_terms[k-1]]); in mpfr_atan_aux()256 h += (mp_bitcnt_t) 1 << log2_nb_terms[k]; in mpfr_atan_aux()
294 mpfr_prec_t log2_nb_terms[KMAX], mult[KMAX]; in sin_bs_aux() local332 log2_nb_terms[0] = 1; in sin_bs_aux()363 log2_nb_terms[k] = 1; in sin_bs_aux()387 log2_nb_terms[k-1] ++; /* number of terms in S[k-1] in sin_bs_aux()404 mpz_mul (T[k], T[k], ptoj[log2_nb_terms[k-1]]); in sin_bs_aux()406 h += (mpfr_prec_t) 1 << log2_nb_terms[k]; in sin_bs_aux()