YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#include"gmp-impl.h" #include"longlong.h"
mp_limb_t
mpn_bdiv_dbm1c (mp_ptr qp, mp_srcptr ap, mp_size_t n, mp_limb_t bd, mp_limb_t h)
{
mp_limb_t a, p0, p1, cy;
mp_size_t i;
for (i = 0; i < n; i++)
{
a = ap[i];
umul_ppmm (p1, p0, a, bd << GMP_NAIL_BITS);
p0 >>= GMP_NAIL_BITS;
cy = h < p0;
h = (h - p0) & GMP_NUMB_MASK;
qp[i] = h;
h = h - p1 - cy;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.