Home | History | Annotate | Download | only in i18n

Lines Matching full:accunits

4260   Int   accunits;                  /* count of units accumulated  */
4535 accunits=0; /* no units accumulated yet */
4603 if (accunits!=0 || thisunit!=0) { /* is first or non-zero */
4606 if (accunits==0) {
4611 accunits++; /* update count */
4637 /* accunits is the number of digits collected in acc */
4638 if (accunits==0) { /* acc is 0 */
4639 accunits=1; /* show have a unit .. */
4671 accunits=decShiftToLeast(accnext, accunits, drop);
4672 accdigits=decGetDigits(accnext, accunits);
4673 accunits=D2U(accdigits);
4727 accunits=D2U(accdigits);
4741 tarunits=decUnitAddSub(accnext, accunits, accnext, accunits,
4763 /* [accunits still describes the original remainder length] */
4795 accunits=-decUnitAddSub(accnext, accunits,
4798 accdigits=decGetDigits(accnext, accunits); /* count digits exactly */
4799 accunits=D2U(accdigits); /* and recalculate the units for copy */
4871 Int accunits; /* Units of accumulator in use */
5102 accunits=up-acc; /* count of units */
5121 accunits=1; /* accumulator starts at '0' */
5130 if (*mer!=0) accunits=decUnitAddSub(&acc[shift], accunits-shift,
5135 *(acc+accunits)=0; /* [this avoids length of <=0 later] */
5136 accunits++;
5146 decDumpAr('*', acc, accunits); /* Show exact result */
5153 res->digits=decGetDigits(acc, accunits); /* count digits exactly */
6280 Int accunits, need; /* units in use or needed for acc */
6318 accunits=decUnitAddSub(a, alength, b, blength, expunits, acc,
6321 if (accunits<0) result=-1; /* negative result */
6324 for (u=acc; u<acc+accunits-1 && *u==0;) u++;