reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2866 n = MP_USED(v); 2867 m = MP_USED(u) - n; 2868 assert(n > 1); 2893 if (k == 0 || MP_USED(u) != m + n + 1) { 2894 if (!s_pad(u, m+n+1)) 2896 u->digits[m+n] = 0; 2897 u->used = m+n+1; 2906 if (!s_pad(v, n+1)) return MP_MEMORY; v->digits[n] = 0; 2906 if (!s_pad(v, n+1)) return MP_MEMORY; v->digits[n] = 0; 2913 if ((res = mp_int_init_size(&t, n + 1)) != MP_OK) goto CLEANUP; 2918 r.used = n + 1; 2928 pfx = r.digits[n]; 2931 pfx |= r.digits[n-1]; /* pfx = u_{j+n}{j+n-1} */ 2933 qhat = pfx / v->digits[n-1]; 2954 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1; 2954 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1; 2961 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); 2962 t.used = n + 1; CLAMP(&t); 2966 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); 2967 t.used = n + 1; CLAMP(&t); 2973 r.used = n + 1;