Home | History | Annotate | Download | only in i18n

Lines Matching full:accunits

4243   Int   accunits;                  /* count of units accumulated  */
4518 accunits=0; /* no units accumulated yet */
4586 if (accunits!=0 || thisunit!=0) { /* is first or non-zero */
4589 if (accunits==0) {
4594 accunits++; /* update count */
4620 /* accunits is the number of digits collected in acc */
4621 if (accunits==0) { /* acc is 0 */
4622 accunits=1; /* show have a unit .. */
4654 accunits=decShiftToLeast(accnext, accunits, drop);
4655 accdigits=decGetDigits(accnext, accunits);
4656 accunits=D2U(accdigits);
4710 accunits=D2U(accdigits);
4724 tarunits=decUnitAddSub(accnext, accunits, accnext, accunits,
4746 /* [accunits still describes the original remainder length] */
4778 accunits=-decUnitAddSub(accnext, accunits,
4781 accdigits=decGetDigits(accnext, accunits); /* count digits exactly */
4782 accunits=D2U(accdigits); /* and recalculate the units for copy */
4854 Int accunits; /* Units of accumulator in use */
5081 accunits=up-acc; /* count of units */
5100 accunits=1; /* accumulator starts at '0' */
5109 if (*mer!=0) accunits=decUnitAddSub(&acc[shift], accunits-shift,
5114 *(acc+accunits)=0; /* [this avoids length of <=0 later] */
5115 accunits++;
5125 decDumpAr('*', acc, accunits); /* Show exact result */
5132 res->digits=decGetDigits(acc, accunits); /* count digits exactly */
6259 Int accunits, need; /* units in use or needed for acc */
6297 accunits=decUnitAddSub(a, alength, b, blength, expunits, acc,
6300 if (accunits<0) result=-1; /* negative result */
6303 for (u=acc; u<acc+accunits-1 && *u==0;) u++;