Lines Matching refs:DECDPUNMAX
369 *up=(Unit)(uin%(DECDPUNMAX+1)); in uprv_decNumberFromUInt32()
370 uin=uin/(DECDPUNMAX+1); in uprv_decNumberFromUInt32()
3965 if ((partial<=DECDPUNMAX) /* result fits in unit */ in decAddOp()
4474 msu2pair=(eInt)*msu2*(DECDPUNMAX+1);/* top two pair .. */ in decDivideOp()
4556 mult=(Int)(((eInt)*msu1*(DECDPUNMAX+1)+*(msu1-1))/msu2pair); in decDivideOp()
4561 mult=(Int)(((eInt)*msu1*(DECDPUNMAX+1)+*(msu1-1))/msu2plus); in decDivideOp()
4744 *(up-1)+=(DECDPUNMAX+1)/2; in decDivideOp()
4758 if (*up!=DECDPUNMAX) break;/* non-nines */ in decDivideOp()
5075 uInt part=item/(DECDPUNMAX+1); in decMultiplyOp()
5076 *up=(Unit)(item-(part*(DECDPUNMAX+1))); in decMultiplyOp()
6406 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */
6414 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6416 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6418 *c-=DECDPUNMAX+1;
6422 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6424 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6425 carry=est-(DECDPUNMAX+1); /* correctly negative */
6426 if (*c<DECDPUNMAX+1) continue; /* was OK */
6428 *c-=DECDPUNMAX+1;
6432 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6434 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6436 *c-=DECDPUNMAX+1;
6440 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6442 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6443 carry=est-(DECDPUNMAX+1); /* correctly negative */
6444 if (*c<DECDPUNMAX+1) continue; /* was OK */
6446 *c-=DECDPUNMAX+1;
6451 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6456 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6458 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6459 carry=est-(DECDPUNMAX+1); /* correctly negative */
6462 if ((ueInt)carry<(DECDPUNMAX+1)*2) { /* fastpath carry +1 */
6463 *c=(Unit)(carry-(DECDPUNMAX+1)); /* [helps additions] */
6468 *c=(Unit)(carry%(DECDPUNMAX+1));
6469 carry=carry/(DECDPUNMAX+1);
6473 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6474 *c=(Unit)(carry%(DECDPUNMAX+1));
6475 carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1);
6492 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */
6501 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6503 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6505 *c-=DECDPUNMAX+1;
6509 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6511 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6512 carry=est-(DECDPUNMAX+1); /* correctly negative */
6513 if (*c<DECDPUNMAX+1) continue; /* was OK */
6515 *c-=DECDPUNMAX+1;
6519 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6521 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6523 *c-=DECDPUNMAX+1;
6527 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6529 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6530 carry=est-(DECDPUNMAX+1); /* correctly negative */
6531 if (*c<DECDPUNMAX+1) continue; /* was OK */
6533 *c-=DECDPUNMAX+1;
6537 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6542 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6544 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6545 carry=est-(DECDPUNMAX+1); /* correctly negative */
6547 if ((ueInt)carry<(DECDPUNMAX+1)*2){ /* fastpath carry 1 */
6548 *c=(Unit)(carry-(DECDPUNMAX+1));
6554 *c=(Unit)(carry%(DECDPUNMAX+1));
6555 carry=carry/(DECDPUNMAX+1);
6559 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6560 *c=(Unit)(carry%(DECDPUNMAX+1));
6561 carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1);
6576 add=DECDPUNMAX+add-*c;
6577 if (add<=DECDPUNMAX) {
7195 if (*up!=DECDPUNMAX) break; /* not still 9s */
7421 if (count>DECDPUN) *up=DECDPUNMAX; /* unit full o'nines */
8028 if (d>DECDPUN) maxuint=DECDPUNMAX;