Lines Matching defs:qb
111 * b <- (a*qa+b*qb)/(2^15)
118 * Factors pa, pb, qa and qb must be at most 2^15 in absolute value.
124 int32_t pa, int32_t pb, int32_t qa, int32_t qb)
152 zb = wa * (uint32_t)qa + wb * (uint32_t)qb + (uint32_t)ccb;
174 * b <- (a*qa+b*qb)/(2^15) mod m
178 * Factors pa, pb, qa and qb must be at most 2^15 in absolute value.
184 int32_t pa, int32_t pb, int32_t qa, int32_t qb,
193 fb = ((a[0] * (uint32_t)qa + b[0] * (uint32_t)qb) * m0i) & 0x7FFF;
206 zb = wa * (uint32_t)qa + wb * (uint32_t)qb
284 * parameters pa, pb, qa and qb such that the new values for a
288 * b' = (a*qa + b*qb) / (2^15)
326 int32_t pa, pb, qa, qb;
375 * b' = a*qa + b*qb
383 qb = 1;
422 pb -= qb & -(int32_t)cAB;
426 qb -= pb & -(int32_t)cBA;
437 qb += qb & -(int32_t)cA;
444 r = co_reduce(a, b, len, pa, pb, qa, qb);
448 qb -= qb * (r & 2);
449 co_reduce_mod(u, v, len, pa, pb, qa, qb, m + 1, m0i);