carry 4642 src/decNumber/decNumber.c uInt carry; // carry (NB not uLong) carry 4793 src/decNumber/decNumber.c if (lcarry<FASTBASE) carry=(uInt)lcarry; // [usual] carry 4798 src/decNumber/decNumber.c carry=(uInt)(lcarry-((uLong)FASTBASE*carry2)); // [inline] carry 4800 src/decNumber/decNumber.c *(lp+1)+=carry; // add to item above [inline] carry 4801 src/decNumber/decNumber.c *lp-=((uLong)FASTBASE*carry); // [inline] carry 6068 src/decNumber/decNumber.c eInt carry=0; // carry integer (could be Long) carry 6099 src/decNumber/decNumber.c carry+=*a; carry 6101 src/decNumber/decNumber.c carry+=((eInt)*b)*m; // [special-casing m=1/-1 carry 6104 src/decNumber/decNumber.c if ((ueInt)carry<=DECDPUNMAX) { // fastpath 0-DECDPUNMAX carry 6105 src/decNumber/decNumber.c *c=(Unit)carry; carry 6106 src/decNumber/decNumber.c carry=0; carry 6110 src/decNumber/decNumber.c if (carry>=0) { carry 6111 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6112 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6113 src/decNumber/decNumber.c carry=est; // likely quotient [89%] carry 6115 src/decNumber/decNumber.c carry++; carry 6120 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6121 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6122 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6123 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6125 src/decNumber/decNumber.c carry++; carry 6128 src/decNumber/decNumber.c if (carry>=0) { carry 6129 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6130 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6131 src/decNumber/decNumber.c carry=est; // likely quotient [99%] carry 6133 src/decNumber/decNumber.c carry++; carry 6138 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6139 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6140 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6141 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6143 src/decNumber/decNumber.c carry++; carry 6147 src/decNumber/decNumber.c if (carry>=0) { carry 6148 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6149 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6150 src/decNumber/decNumber.c carry=est; // quotient carry 6154 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6155 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6156 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6157 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6160 src/decNumber/decNumber.c if ((ueInt)carry<(DECDPUNMAX+1)*2) { // fastpath carry +1 carry 6161 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); // [helps additions] carry 6162 src/decNumber/decNumber.c carry=1; carry 6165 src/decNumber/decNumber.c if (carry>=0) { carry 6166 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6167 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1); carry 6171 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6172 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6173 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1); carry 6181 src/decNumber/decNumber.c carry+=*a; carry 6185 src/decNumber/decNumber.c carry+=((eInt)*b)*m; carry 6190 src/decNumber/decNumber.c if ((ueInt)carry<=DECDPUNMAX) { // fastpath 0-DECDPUNMAX carry 6191 src/decNumber/decNumber.c *c=(Unit)carry; carry 6192 src/decNumber/decNumber.c carry=0; carry 6197 src/decNumber/decNumber.c if (carry>=0) { carry 6198 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6199 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6200 src/decNumber/decNumber.c carry=est; // likely quotient [79.7%] carry 6202 src/decNumber/decNumber.c carry++; carry 6207 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6208 src/decNumber/decNumber.c est=(((ueInt)carry>>11)*53687)>>18; carry 6209 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6210 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6212 src/decNumber/decNumber.c carry++; carry 6215 src/decNumber/decNumber.c if (carry>=0) { carry 6216 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6217 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6218 src/decNumber/decNumber.c carry=est; // likely quotient [99%] carry 6220 src/decNumber/decNumber.c carry++; carry 6225 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6226 src/decNumber/decNumber.c est=(((ueInt)carry>>3)*16777)>>21; carry 6227 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6228 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6230 src/decNumber/decNumber.c carry++; carry 6233 src/decNumber/decNumber.c if (carry>=0) { carry 6234 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6235 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder carry 6236 src/decNumber/decNumber.c carry=est; // quotient carry 6240 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6241 src/decNumber/decNumber.c est=QUOT10(carry, DECDPUN); carry 6242 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); carry 6243 src/decNumber/decNumber.c carry=est-(DECDPUNMAX+1); // correctly negative carry 6245 src/decNumber/decNumber.c if ((ueInt)carry<(DECDPUNMAX+1)*2){ // fastpath carry 1 carry 6246 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); carry 6247 src/decNumber/decNumber.c carry=1; carry 6251 src/decNumber/decNumber.c if (carry>=0) { carry 6252 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6253 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1); carry 6257 src/decNumber/decNumber.c carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); // make positive carry 6258 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); carry 6259 src/decNumber/decNumber.c carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1); carry 6265 src/decNumber/decNumber.c if (carry==0) return c-clsu; // no carry, so no more to do carry 6266 src/decNumber/decNumber.c if (carry>0) { // positive carry carry 6267 src/decNumber/decNumber.c *c=(Unit)carry; // place as new unit carry 6285 src/decNumber/decNumber.c if ((add-carry-1)!=0) { carry 6286 src/decNumber/decNumber.c *c=(Unit)(add-carry-1); carry 1560 src/dps8/dps8_math.c word1 carry = 0; carry 1568 src/dps8/dps8_math.c carry = 1; carry 1571 src/dps8/dps8_math.c m = Add72b (m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); carry 1573 src/dps8/dps8_math.c m = Add72b (m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); carry 1632 src/dps8/dps8_math.c word1 carry = 0; carry 1640 src/dps8/dps8_math.c carry = 1; carry 1643 src/dps8/dps8_math.c m = Add72b (m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); carry 1645 src/dps8/dps8_math.c m = Add72b (m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); carry 3164 src/dps8/dps8_math.c word1 carry = 0; carry 3172 src/dps8/dps8_math.c carry = 1; carry 3175 src/dps8/dps8_math.c m = Add72b (m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); carry 3177 src/dps8/dps8_math.c m = Add72b (m, 0177, carry, I_OFLOW, & flags1, & ovf); carry 3252 src/dps8/dps8_math.c word1 carry = 0; carry 3260 src/dps8/dps8_math.c carry = 1; carry 3263 src/dps8/dps8_math.c m = Add72b (m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); carry 3265 src/dps8/dps8_math.c m = Add72b (m, 0177, carry, I_OFLOW, & flags1, & ovf);