Lines Matching refs:div
4214 mp_int *div, /* i: divisor */
4228 if(mp_cmp_z(div) == 0)
4232 if((ix = s_mp_ispow2(div)) >= 0) {
4242 MP_SIGN(div) = ZPOS;
4248 MP_CHECKOK( s_mp_norm(rem, div, &d) );
4255 /* Find a partial substring of rem which is at least div */
4257 while (MP_USED(rem) > MP_USED(div) || s_mp_cmp(rem, div) >= 0) {
4261 unusedRem = MP_USED(rem) - MP_USED(div);
4264 MP_USED(&part) = MP_USED(div);
4265 if (s_mp_cmp(&part, div) < 0) {
4277 div_msd = MP_DIGIT(div, MP_USED(div) - 1);
4301 mp_copy(div, &t);
4313 s_mp_sub(&t, div); /* t -= div */