Home | History | Annotate | Download | only in lib

Lines Matching full:carry

387           mp_twolimb_t carry = 0;
391 carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2;
392 carry += dp[i + j];
393 dp[i + j] = (mp_limb_t) carry;
394 carry = carry >> GMP_LIMB_BITS;
396 dp[i + len2] = (mp_limb_t) carry;
451 r[j+i]:=r[j+i]-(u mod beta) (+ beta, if carry),
452 u:=u div beta (+ 1, if carry in subtraction)
456 the carry u does not overflow.}
457 If a negative carry occurs, put q* := q* - 1
700 carry. */
729 mp_twolimb_t carry = 0;
733 /* Here 0 <= carry <= q*. */
734 carry =
735 carry
738 /* Here 0 <= carry <= beta*q* + beta-1. */
739 *destptr++ = ~(mp_limb_t) carry;
740 carry = carry >> GMP_LIMB_BITS; /* <= q* */
742 cr = (mp_limb_t) carry;
748 /* Subtraction gave a carry. */
754 mp_limb_t carry = 0;
760 *destptr++ = source1 + source2 + carry;
761 carry =
762 (carry
767 /* Forget about the carry and about r[j+n]. */
1132 mp_twolimb_t carry = 0;
1136 carry += (mp_twolimb_t) digit1 * (mp_twolimb_t) digit2;
1137 pow5_ptr[j] = (mp_limb_t) carry;
1138 carry = carry >> GMP_LIMB_BITS;
1140 if (carry > 0)
1141 pow5_ptr[pow5_len++] = (mp_limb_t) carry;