Lines Matching refs:m2exp
36 _mp_seed holds the current seed value, in the range 0 to 2^m2exp-1.
43 _mp_a is the "a" multiplier, in the range 0 to 2^m2exp-1. SIZ(_mp_a) is
54 _mp_m2exp gives the modulus, namely 2^m2exp. We demand m2exp>=1, since
55 m2exp==0 would mean no bits at all out of each iteration, which makes no
77 unsigned long int m2exp;
86 m2exp = p->_mp_m2exp;
100 tn = BITS_TO_LIMBS (m2exp);
121 tp[m2exp / GMP_NUMB_BITS] &= (CNST_LIMB (1) << m2exp % GMP_NUMB_BITS) - 1;
126 /* Discard the lower m2exp/2 of the result. */
127 bits = m2exp / 2;
146 return (m2exp + 1) / 2;
238 for numbers up to 2^m2exp-1. That size can't be zero. */
296 mp_bitcnt_t m2exp)
299 mp_size_t seedn = BITS_TO_LIMBS (m2exp);
301 ASSERT_ALWAYS (m2exp != 0);
307 /* allocate m2exp bits of space for p->_mp_seed, and initial seed "1" */
308 mpz_init2 (p->_mp_seed, m2exp);
313 /* "a", forced to 0 to 2^m2exp-1 */
315 mpz_fdiv_r_2exp (p->_mp_a, a, m2exp);
326 /* Internally we may discard any bits of c above m2exp. The following
331 p->_mp_m2exp = m2exp;