Lines Matching refs:DECDPUNMAX
384 *up=(Unit)(uin%(DECDPUNMAX+1)); in uprv_decNumberFromUInt32()
385 uin=uin/(DECDPUNMAX+1); in uprv_decNumberFromUInt32()
3980 if ((partial<=DECDPUNMAX) /* result fits in unit */ in decAddOp()
4491 msu2pair=(eInt)*msu2*(DECDPUNMAX+1);/* top two pair .. */ in decDivideOp()
4573 mult=(Int)(((eInt)*msu1*(DECDPUNMAX+1)+*(msu1-1))/msu2pair); in decDivideOp()
4578 mult=(Int)(((eInt)*msu1*(DECDPUNMAX+1)+*(msu1-1))/msu2plus); in decDivideOp()
4761 *(up-1)+=(DECDPUNMAX+1)/2; in decDivideOp()
4775 if (*up!=DECDPUNMAX) break;/* non-nines */ in decDivideOp()
5096 uInt part=item/(DECDPUNMAX+1); in decMultiplyOp()
5097 *up=(Unit)(item-(part*(DECDPUNMAX+1))); in decMultiplyOp()
6427 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */
6435 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6437 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6439 *c-=DECDPUNMAX+1;
6443 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6445 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6446 carry=est-(DECDPUNMAX+1); /* correctly negative */
6447 if (*c<DECDPUNMAX+1) continue; /* was OK */
6449 *c-=DECDPUNMAX+1;
6453 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6455 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6457 *c-=DECDPUNMAX+1;
6461 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6463 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6464 carry=est-(DECDPUNMAX+1); /* correctly negative */
6465 if (*c<DECDPUNMAX+1) continue; /* was OK */
6467 *c-=DECDPUNMAX+1;
6472 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6477 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6479 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6480 carry=est-(DECDPUNMAX+1); /* correctly negative */
6483 if ((ueInt)carry<(DECDPUNMAX+1)*2) { /* fastpath carry +1 */
6484 *c=(Unit)(carry-(DECDPUNMAX+1)); /* [helps additions] */
6489 *c=(Unit)(carry%(DECDPUNMAX+1));
6490 carry=carry/(DECDPUNMAX+1);
6494 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6495 *c=(Unit)(carry%(DECDPUNMAX+1));
6496 carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1);
6513 if ((ueInt)carry<=DECDPUNMAX) { /* fastpath 0-DECDPUNMAX */
6522 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6524 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6526 *c-=DECDPUNMAX+1;
6530 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6532 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6533 carry=est-(DECDPUNMAX+1); /* correctly negative */
6534 if (*c<DECDPUNMAX+1) continue; /* was OK */
6536 *c-=DECDPUNMAX+1;
6540 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6542 if (*c<DECDPUNMAX+1) continue; /* estimate was correct */
6544 *c-=DECDPUNMAX+1;
6548 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6550 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6551 carry=est-(DECDPUNMAX+1); /* correctly negative */
6552 if (*c<DECDPUNMAX+1) continue; /* was OK */
6554 *c-=DECDPUNMAX+1;
6558 *c=(Unit)(carry-est*(DECDPUNMAX+1)); /* remainder */
6563 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6565 *c=(Unit)(carry-est*(DECDPUNMAX+1));
6566 carry=est-(DECDPUNMAX+1); /* correctly negative */
6568 if ((ueInt)carry<(DECDPUNMAX+1)*2){ /* fastpath carry 1 */
6569 *c=(Unit)(carry-(DECDPUNMAX+1));
6575 *c=(Unit)(carry%(DECDPUNMAX+1));
6576 carry=carry/(DECDPUNMAX+1);
6580 carry=carry+(eInt)(DECDPUNMAX+1)*(DECDPUNMAX+1); /* make positive */
6581 *c=(Unit)(carry%(DECDPUNMAX+1));
6582 carry=carry/(DECDPUNMAX+1)-(DECDPUNMAX+1);
6597 add=DECDPUNMAX+add-*c;
6598 if (add<=DECDPUNMAX) {
7217 if (*up!=DECDPUNMAX) break; /* not still 9s */
7443 if (count>DECDPUN) *up=DECDPUNMAX; /* unit full o'nines */
8050 if (d>DECDPUN) maxuint=DECDPUNMAX;