carry 4622 src/decNumber/decNumber.c uInt carry; // carry (NB not uLong) carry 4773 src/decNumber/decNumber.c if (lcarry<FASTBASE) carry=(uInt)lcarry; // [usual] carry 4778 src/decNumber/decNumber.c carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); // [inline] carry 4780 src/decNumber/decNumber.c *(lp+1)+=carry; // add to item above [inline] carry 4781 src/decNumber/decNumber.c *lp-=((uLong)FASTBASE*carry); // [inline] carry 6048 src/decNumber/decNumber.c eInt carry=0; // carry integer (could be Long) carry 6079 src/decNumber/decNumber.c carry+=*a; carry 6081 src/decNumber/decNumber.c carry+=((eInt)*b)*m; // [special-casing m=1/-1 carry 6084 src/decNumber/decNumber.c if ((ueInt)carry<=DECDPUNMAX) { // fastpath 0-DECDPUNMAX carry 6085 src/decNumber/decNumber.c *c=(Unit)carry; carry 6086 src/decNumber/decNumber.c carry=0; carry 6090 src/decNumber/decNumber.c if (carry>=0) { carry 6091 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6092 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6093 src/decNumber/decNumber.c carry=est; // likely quotient [89%] carry 6095 src/decNumber/decNumber.c carry++; carry 6100 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6101 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6102 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6103 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6105 src/decNumber/decNumber.c carry++; carry 6108 src/decNumber/decNumber.c if (carry>=0) { carry 6109 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6110 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6111 src/decNumber/decNumber.c carry=est; // likely quotient [99%] carry 6113 src/decNumber/decNumber.c carry++; carry 6118 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6119 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6120 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6121 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6123 src/decNumber/decNumber.c carry++; carry 6127 src/decNumber/decNumber.c if (carry>=0) { carry 6128 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6129 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6130 src/decNumber/decNumber.c carry=est; // quotient carry 6134 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6135 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6136 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6137 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6140 src/decNumber/decNumber.c if ((ueInt)carry<(DECDPUNMAX+1)*2) { // fastpath carry +1 carry 6141 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); // [helps additions] carry 6142 src/decNumber/decNumber.c carry=1; carry 6145 src/decNumber/decNumber.c if (carry>=0) { carry 6146 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6147 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1); carry 6151 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6152 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6153 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1); carry 6161 src/decNumber/decNumber.c carry+=*a; carry 6165 src/decNumber/decNumber.c carry+=((eInt)*b)*m; carry 6170 src/decNumber/decNumber.c if ((ueInt)carry<=DECDPUNMAX) { // fastpath 0-DECDPUNMAX carry 6171 src/decNumber/decNumber.c *c=(Unit)carry; carry 6172 src/decNumber/decNumber.c carry=0; carry 6177 src/decNumber/decNumber.c if (carry>=0) { carry 6178 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6179 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6180 src/decNumber/decNumber.c carry=est; // likely quotient [79.7%] carry 6182 src/decNumber/decNumber.c carry++; carry 6187 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6188 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6189 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6190 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6192 src/decNumber/decNumber.c carry++; carry 6195 src/decNumber/decNumber.c if (carry>=0) { carry 6196 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6197 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6198 src/decNumber/decNumber.c carry=est; // likely quotient [99%] carry 6200 src/decNumber/decNumber.c carry++; carry 6205 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6206 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6207 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6208 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6210 src/decNumber/decNumber.c carry++; carry 6213 src/decNumber/decNumber.c if (carry>=0) { carry 6214 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6215 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6216 src/decNumber/decNumber.c carry=est; // quotient carry 6220 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6221 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6222 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6223 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6225 src/decNumber/decNumber.c if ((ueInt)carry<(DECDPUNMAX+1)*2){ // fastpath carry 1 carry 6226 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); carry 6227 src/decNumber/decNumber.c carry=1; carry 6231 src/decNumber/decNumber.c if (carry>=0) { carry 6232 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6233 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1); carry 6237 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6238 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6239 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1); carry 6245 src/decNumber/decNumber.c if (carry==0) return c-clsu; // no carry, so no more to do carry 6246 src/decNumber/decNumber.c if (carry>0) { // positive carry carry 6247 src/decNumber/decNumber.c *c=(Unit)carry; // place as new unit carry 6265 src/decNumber/decNumber.c if ((add-carry-1)!=0) { carry 6266 src/decNumber/decNumber.c *c=(Unit)(add-carry-1); carry 1564 src/dps8/dps8_math.c word1 carry = 0; carry 1572 src/dps8/dps8_math.c carry = 1; carry 1575 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); carry 1577 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); carry 1636 src/dps8/dps8_math.c word1 carry = 0; carry 1644 src/dps8/dps8_math.c carry = 1; carry 1647 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); carry 1649 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); carry 3175 src/dps8/dps8_math.c word1 carry = 0; carry 3183 src/dps8/dps8_math.c carry = 1; carry 3186 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); carry 3188 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf); carry 3263 src/dps8/dps8_math.c word1 carry = 0; carry 3271 src/dps8/dps8_math.c carry = 1; carry 3274 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); carry 3276 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf);