Searched refs:qhat (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | basearith.c | 311 mpd_uint_t d, qhat, rhat, w2[2]; in _mpd_basedivmod() local 344 qhat = w2[1] * MPD_RADIX + w2[0]; in _mpd_basedivmod() 347 if (qhat < MPD_RADIX) { in _mpd_basedivmod() 348 _mpd_singlemul(w2, qhat, v[n-2]); in _mpd_basedivmod() 355 qhat -= 1; in _mpd_basedivmod() 365 _mpd_mul_words(&hi, &lo, qhat, v[i]); in _mpd_basedivmod() 377 q[j] = qhat; in _mpd_basedivmod()
|
/external/llvm-project/polly/lib/External/isl/imath/ |
D | imath.c | 2927 mp_word pfx, qhat; in s_udiv_knuth() local 2933 qhat = pfx / v->digits[n-1]; in s_udiv_knuth() 2938 if (qhat > MP_DIGIT_MAX) in s_udiv_knuth() 2939 qhat = MP_DIGIT_MAX; in s_udiv_knuth() 2954 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); t.used = n + 1; in s_udiv_knuth() 2960 qhat -= 1; /* try a smaller q */ in s_udiv_knuth() 2961 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); in s_udiv_knuth() 2964 assert(qhat > 0); in s_udiv_knuth() 2965 qhat -= 1; /* try a smaller q */ in s_udiv_knuth() 2966 s_dbmul(MP_DIGITS(v), (mp_digit) qhat, t.digits, n+1); in s_udiv_knuth() [all …]
|