digits             75 src/decNumber/decContext.c   context->digits=9;                         // 9 digits
digits             90 src/decNumber/decContext.c       context->digits=7;                     // digits
digits            101 src/decNumber/decContext.c       context->digits=16;                    // digits
digits            112 src/decNumber/decContext.c       context->digits=34;                    // digits
digits             76 src/decNumber/decContext.h     int32_t  digits;               /* working precision               */
digits            296 src/decNumber/decNumber.c   dn->digits=decGetDigits(dn->lsu, up-dn->lsu);
digits            312 src/decNumber/decNumber.c   if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; // bad
digits            325 src/decNumber/decNumber.c     for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1];
digits            344 src/decNumber/decNumber.c   if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0
digits            358 src/decNumber/decNumber.c     for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1];
digits            498 src/decNumber/decNumber.c       if (d>set->digits-1) {
digits            502 src/decNumber/decNumber.c         if (d>set->digits) break;
digits            569 src/decNumber/decNumber.c     if (d<=set->digits) res=dn->lsu;    // fits into supplied decNumber
digits            612 src/decNumber/decNumber.c     dn->digits=d;
digits            615 src/decNumber/decNumber.c     if (d>set->digits) {
digits            623 src/decNumber/decNumber.c       if ((dn->exponent-1<set->emin-dn->digits)
digits            624 src/decNumber/decNumber.c        || (dn->exponent-1>set->emax-set->digits)) {
digits            721 src/decNumber/decNumber.c   msua=ua+D2U(lhs->digits)-1;           // -> msu of lhs
digits            722 src/decNumber/decNumber.c   msub=ub+D2U(rhs->digits)-1;           // -> msu of rhs
digits            723 src/decNumber/decNumber.c   msuc=uc+D2U(set->digits)-1;           // -> msu of result
digits            724 src/decNumber/decNumber.c   msudigs=MSUDIGITS(set->digits);       // [faster than remainder]
digits            751 src/decNumber/decNumber.c   res->digits=decGetDigits(res->lsu, uc-res->lsu);
digits            845 src/decNumber/decNumber.c       needbytes=sizeof(decNumber)+(D2U(lhs->digits)-1)*sizeof(Unit);
digits            859 src/decNumber/decNumber.c       needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
digits            960 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           1017 src/decNumber/decNumber.c     dcmul.digits=lhs->digits+rhs->digits; // just enough
digits           1023 src/decNumber/decNumber.c     needbytes=sizeof(decNumber)+(D2U(dcmul.digits)-1)*sizeof(Unit);
digits           1084 src/decNumber/decNumber.c   msua=ua+D2U(rhs->digits)-1;           // -> msu of rhs
digits           1085 src/decNumber/decNumber.c   msuc=uc+D2U(set->digits)-1;           // -> msu of result
digits           1086 src/decNumber/decNumber.c   msudigs=MSUDIGITS(set->digits);       // [faster than remainder]
digits           1107 src/decNumber/decNumber.c   res->digits=decGetDigits(res->lsu, uc-res->lsu);
digits           1154 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           1213 src/decNumber/decNumber.c     Int ae=rhs->exponent+rhs->digits-1; // adjusted exponent
digits           1214 src/decNumber/decNumber.c     if (set->digits>=10) decNumberFromInt32(res, ae);  // lay it out
digits           1293 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           1313 src/decNumber/decNumber.c       aset.digits=1;
digits           1336 src/decNumber/decNumber.c     p=(rhs->digits+t>set->digits?rhs->digits+t:set->digits)+3;
digits           1345 src/decNumber/decNumber.c     aset.digits=p;                      // as calculated
digits           1359 src/decNumber/decNumber.c     p=set->digits+3;
digits           1374 src/decNumber/decNumber.c     w->digits=2;                        // ..
digits           1376 src/decNumber/decNumber.c     aset.digits=p;
digits           1379 src/decNumber/decNumber.c     aset.digits=set->digits;            // for final divide
digits           1533 src/decNumber/decNumber.c   dtiny.exponent=set->emin-set->digits;
digits           1575 src/decNumber/decNumber.c   dtiny.exponent=set->emin-set->digits;
digits           1677 src/decNumber/decNumber.c   msua=ua+D2U(lhs->digits)-1;           // -> msu of lhs
digits           1678 src/decNumber/decNumber.c   msub=ub+D2U(rhs->digits)-1;           // -> msu of rhs
digits           1679 src/decNumber/decNumber.c   msuc=uc+D2U(set->digits)-1;           // -> msu of result
digits           1680 src/decNumber/decNumber.c   msudigs=MSUDIGITS(set->digits);       // [faster than remainder]
digits           1706 src/decNumber/decNumber.c   res->digits=decGetDigits(res->lsu, uc-res->lsu);
digits           1794 src/decNumber/decNumber.c   Int   reqdigits=set->digits;     // requested DIGITS
digits           1819 src/decNumber/decNumber.c       if (lhs->digits>reqdigits) {
digits           1824 src/decNumber/decNumber.c       if (rhs->digits>reqdigits) {
digits           1853 src/decNumber/decNumber.c             Int shift=set->digits-1;
digits           1855 src/decNumber/decNumber.c             res->digits=decShiftToMost(res->lsu, 1, shift);
digits           1948 src/decNumber/decNumber.c       aset.digits=MAXI(lhs->digits, set->digits)+6+4;
digits           1963 src/decNumber/decNumber.c       aset.digits=reqdigits+(rhs->digits+rhs->exponent)+2;
digits           1968 src/decNumber/decNumber.c       if (!set->extended) aset.digits--;     // use classic precision
digits           1971 src/decNumber/decNumber.c       if (aset.digits>DECNUMMAXP) {status|=DEC_Invalid_operation; break;}
digits           1976 src/decNumber/decNumber.c     needbytes=sizeof(decNumber)+(D2U(aset.digits)-1)*sizeof(Unit);
digits           1997 src/decNumber/decNumber.c           Int shift=set->digits-1;
digits           1998 src/decNumber/decNumber.c           dac->digits=decShiftToMost(dac->lsu, 1, shift);
digits           2036 src/decNumber/decNumber.c           if (dnOne.digits > 1) __builtin_unreachable ();
digits           2170 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           2305 src/decNumber/decNumber.c      || abs(rotate)>set->digits)             // .. or out of range
digits           2309 src/decNumber/decNumber.c       if (res->digits>set->digits) decDecap(res, res->digits-set->digits);
digits           2311 src/decNumber/decNumber.c       if (rotate<0) rotate=set->digits+rotate;
digits           2312 src/decNumber/decNumber.c       if (rotate!=0 && rotate!=set->digits   // zero or full rotation
digits           2317 src/decNumber/decNumber.c         Unit *msu=res->lsu+D2U(res->digits)-1;    // current msu
digits           2318 src/decNumber/decNumber.c         Unit *msumax=res->lsu+D2U(set->digits)-1; //-V778 // rotation msu
digits           2320 src/decNumber/decNumber.c         res->digits=set->digits;                  // now full-length
digits           2321 src/decNumber/decNumber.c         msudigits=MSUDIGITS(res->digits);         // actual digits in msu
digits           2354 src/decNumber/decNumber.c         rotate=set->digits-rotate;      // make it right-rotate
digits           2359 src/decNumber/decNumber.c           decShiftToLeast(res->lsu, D2U(res->digits), shift);
digits           2391 src/decNumber/decNumber.c         res->digits=decGetDigits(res->lsu, msumax-res->lsu+1);
digits           2458 src/decNumber/decNumber.c      || (abs(reqexp)+1)/2>(set->digits+set->emax)) // .. or out of range
digits           2517 src/decNumber/decNumber.c      || abs(shift)>set->digits)              // .. or out of range
digits           2523 src/decNumber/decNumber.c           if (shift==set->digits) {          // removing all
digits           2525 src/decNumber/decNumber.c             res->digits=1;                   // ..
digits           2529 src/decNumber/decNumber.c             if (res->digits+shift>set->digits) {
digits           2530 src/decNumber/decNumber.c               decDecap(res, res->digits+shift-set->digits);
digits           2534 src/decNumber/decNumber.c             if (res->digits>1 || *res->lsu)  // if non-zero..
digits           2535 src/decNumber/decNumber.c               res->digits=decShiftToMost(res->lsu, res->digits, shift);
digits           2539 src/decNumber/decNumber.c           if (-shift>=res->digits) {         // discarding all
digits           2541 src/decNumber/decNumber.c             res->digits=1;                   // ..
digits           2544 src/decNumber/decNumber.c             decShiftToLeast(res->lsu, D2U(res->digits), -shift);
digits           2545 src/decNumber/decNumber.c             res->digits-=(-shift);
digits           2664 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           2712 src/decNumber/decNumber.c     workp=MAXI(set->digits+1, rhs->digits);  // actual rounding precision
digits           2716 src/decNumber/decNumber.c     needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
digits           2738 src/decNumber/decNumber.c     exp=f->exponent+f->digits;               // adjusted to Hull rules
digits           2739 src/decNumber/decNumber.c     f->exponent=-(f->digits);                // to range
digits           2750 src/decNumber/decNumber.c     workset.digits=workp;                    // p for initial calculation
digits           2751 src/decNumber/decNumber.c     t->bits=0; t->digits=3;
digits           2752 src/decNumber/decNumber.c     a->bits=0; a->digits=3;
digits           2796 src/decNumber/decNumber.c     workset.digits=3;                        // initial p
digits           2797 src/decNumber/decNumber.c     for (; workset.digits<maxp;) {
digits           2799 src/decNumber/decNumber.c       workset.digits=MINI(workset.digits*2-2, maxp);
digits           2838 src/decNumber/decNumber.c     workset.digits--;                             // maxp-1 is OK now
digits           2839 src/decNumber/decNumber.c     t->exponent=-a->digits-1;                     // make 0.5 ulp
digits           2884 src/decNumber/decNumber.c     if (b->digits*2-1 > workp) {             // cannot fit
digits           2903 src/decNumber/decNumber.c             Int maxexp=set->emax-set->digits+1;
digits           2914 src/decNumber/decNumber.c               decShiftToLeast(a->lsu, D2U(a->digits), todrop);
digits           2916 src/decNumber/decNumber.c               a->digits-=todrop;             // new length
digits           2926 src/decNumber/decNumber.c       Int ae=rhs->exponent+rhs->digits-1;    // adjusted exponent
digits           3008 src/decNumber/decNumber.c     workset.digits=rhs->digits;    // no length rounding
digits           3060 src/decNumber/decNumber.c   msua=ua+D2U(lhs->digits)-1;           // -> msu of lhs
digits           3061 src/decNumber/decNumber.c   msub=ub+D2U(rhs->digits)-1;           // -> msu of rhs
digits           3062 src/decNumber/decNumber.c   msuc=uc+D2U(set->digits)-1;           // -> msu of result
digits           3063 src/decNumber/decNumber.c   msudigs=MSUDIGITS(set->digits);       // [faster than remainder]
digits           3089 src/decNumber/decNumber.c   res->digits=decGetDigits(res->lsu, uc-res->lsu);
digits           3168 src/decNumber/decNumber.c   dest->digits=src->digits;
digits           3170 src/decNumber/decNumber.c   if (src->digits>DECDPUN) {                 // more Units to come
digits           3176 src/decNumber/decNumber.c     smsup=src->lsu+D2U(src->digits);         // -> source msu+1
digits           3251 src/decNumber/decNumber.c   uByte *ub=bcd+dn->digits-1;      // -> lsd
digits           3285 src/decNumber/decNumber.c   Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer]
digits           3299 src/decNumber/decNumber.c   dn->digits=n;                       // set digit count
digits           3315 src/decNumber/decNumber.c   ae=dn->exponent+dn->digits-1;         // adjusted exponent
digits           3332 src/decNumber/decNumber.c   ae=dn->exponent+dn->digits-1;         // adjusted exponent
digits           3375 src/decNumber/decNumber.c   dn->digits=1;
digits           3404 src/decNumber/decNumber.c   const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer]
digits           3425 src/decNumber/decNumber.c     if (exp!=0 || (*dn->lsu==0 && dn->digits==1)) return;
digits           3430 src/decNumber/decNumber.c   cut=MSUDIGITS(dn->digits);       // [faster than remainder]
digits           3443 src/decNumber/decNumber.c   pre=dn->digits+exp;              // digits before '.'
digits           3446 src/decNumber/decNumber.c     e=exp+dn->digits-1;            // calculate E value
digits           3486 src/decNumber/decNumber.c     if (n<dn->digits) {            // more to come, after '.'
digits           3593 src/decNumber/decNumber.c   Int   reqdigits=set->digits;     // local copy; requested DIGITS
digits           3600 src/decNumber/decNumber.c       if (lhs->digits>reqdigits) {
digits           3605 src/decNumber/decNumber.c       if (rhs->digits>reqdigits) {
digits           3662 src/decNumber/decNumber.c             if ((res->digits-adjust)>set->digits) {
digits           3663 src/decNumber/decNumber.c               adjust=res->digits-set->digits;     // to fit exactly
digits           3666 src/decNumber/decNumber.c             res->digits=decShiftToMost(res->lsu, res->digits, -adjust);
digits           3690 src/decNumber/decNumber.c           if ((res->digits-adjust)>set->digits) {
digits           3691 src/decNumber/decNumber.c             adjust=res->digits-set->digits;     // to fit exactly
digits           3694 src/decNumber/decNumber.c           res->digits=decShiftToMost(res->lsu, res->digits, -adjust);
digits           3713 src/decNumber/decNumber.c         && rhs->digits<=DECDPUN
digits           3715 src/decNumber/decNumber.c         && rhs->exponent<=set->emax-set->digits+1 // [could clamp]
digits           3716 src/decNumber/decNumber.c         && rhs->digits<=reqdigits
digits           3717 src/decNumber/decNumber.c         && lhs->digits<=reqdigits) {
digits           3722 src/decNumber/decNumber.c          && (lhs->digits>=DECDPUN ||    // .. and no digits-count change
digits           3723 src/decNumber/decNumber.c              partial<(Int)powers[lhs->digits])) { // ..
digits           3736 src/decNumber/decNumber.c           res->digits=decGetDigits(res->lsu, D2U(res->digits));
digits           3763 src/decNumber/decNumber.c       exponent += (rhs->digits>reqdigits) ? 0 : rhs->digits-reqdigits-1;
digits           3764 src/decNumber/decNumber.c       if (lhs->digits+lhs->exponent-1 < exponent) {
digits           3768 src/decNumber/decNumber.c         dtiny.digits=1;
digits           3783 src/decNumber/decNumber.c     maxdigits=rhs->digits+padding;      // virtual length of RHS
digits           3784 src/decNumber/decNumber.c     if (lhs->digits>maxdigits) maxdigits=lhs->digits;
digits           3811 src/decNumber/decNumber.c     res->digits=decUnitAddSub(lhs->lsu, D2U(lhs->digits),
digits           3812 src/decNumber/decNumber.c                               rhs->lsu, D2U(rhs->digits),
digits           3815 src/decNumber/decNumber.c     if (res->digits<0) {           // borrowed...
digits           3816 src/decNumber/decNumber.c       res->digits=-res->digits;
digits           3830 src/decNumber/decNumber.c         if (res->digits>reqdigits)
digits           3831 src/decNumber/decNumber.c           res->digits=decGetDigits(acc, D2U(res->digits));
digits           3832 src/decNumber/decNumber.c         decSetCoeff(res, set, acc, res->digits, &residue, status);
digits           3841 src/decNumber/decNumber.c         if (res->digits<maxdigits) {
digits           3842 src/decNumber/decNumber.c           *(acc+D2U(res->digits))=0; // ensure leading 0 is there
digits           3843 src/decNumber/decNumber.c           res->digits=maxdigits;
digits           3849 src/decNumber/decNumber.c           if (res->digits>reqdigits) {
digits           3850 src/decNumber/decNumber.c             res->digits=decGetDigits(acc, D2U(res->digits));
digits           3851 src/decNumber/decNumber.c             if (res->digits<maxdigits) res->digits=maxdigits;
digits           3854 src/decNumber/decNumber.c         decSetCoeff(res, set, acc, res->digits, &residue, status);
digits           3866 src/decNumber/decNumber.c     res->digits=decGetDigits(res->lsu, D2U(res->digits));
digits           3995 src/decNumber/decNumber.c   Int   reqdigits=set->digits;     // requested DIGITS
digits           4011 src/decNumber/decNumber.c       if (lhs->digits>reqdigits) {
digits           4016 src/decNumber/decNumber.c       if (rhs->digits>reqdigits) {
digits           4057 src/decNumber/decNumber.c             res->exponent=set->emin-set->digits+1;
digits           4114 src/decNumber/decNumber.c     exponent=(lhs->exponent+lhs->digits)-(rhs->exponent+rhs->digits);
digits           4166 src/decNumber/decNumber.c     maxdigits=rhs->digits+reqdigits-1;
digits           4167 src/decNumber/decNumber.c     if (lhs->digits>maxdigits) maxdigits=lhs->digits;
digits           4186 src/decNumber/decNumber.c     source=lhs->lsu+D2U(lhs->digits)-1; // msu of input array
digits           4192 src/decNumber/decNumber.c     var2units=D2U(rhs->digits);         // rhs actual length (units)
digits           4223 src/decNumber/decNumber.c       var1initpad=(var1units-D2U(lhs->digits))*DECDPUN;
digits           4453 src/decNumber/decNumber.c           compare=decUnitCompare(accnext, tarunits, rhs->lsu, D2U(rhs->digits),
digits           4501 src/decNumber/decNumber.c                                     rhs->lsu, D2U(rhs->digits),
digits           4656 src/decNumber/decNumber.c   if (lhs->digits<rhs->digits) {   // swap...
digits           4666 src/decNumber/decNumber.c       if (lhs->digits>set->digits) {
digits           4671 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           4684 src/decNumber/decNumber.c     if (rhs->digits>NEEDTWO) {     // use fastpath...
digits           4686 src/decNumber/decNumber.c       ilhs=(lhs->digits+FASTDIGS-1)/FASTDIGS; // [ceiling]
digits           4687 src/decNumber/decNumber.c       irhs=(rhs->digits+FASTDIGS-1)/FASTDIGS; // ..
digits           4725 src/decNumber/decNumber.c       for (count=lhs->digits, cup=lhs->lsu, lip=zlhi; count>0; lip++)
digits           4730 src/decNumber/decNumber.c       for (count=rhs->digits, cup=rhs->lsu, rip=zrhi; count>0; rip++)
digits           4807 src/decNumber/decNumber.c       needbytes=(D2U(lhs->digits)+D2U(rhs->digits))*sizeof(Unit);
digits           4822 src/decNumber/decNumber.c       madlength=D2U(lhs->digits);  // this won't change
digits           4823 src/decNumber/decNumber.c       mermsup=rhs->lsu+D2U(rhs->digits); // -> msu+1 of multiplier
digits           4848 src/decNumber/decNumber.c     res->digits=decGetDigits(acc, accunits); // count digits exactly
digits           4861 src/decNumber/decNumber.c     decSetCoeff(res, set, acc, res->digits, &residue, status);
digits           5022 src/decNumber/decNumber.c     d->exponent=-set->digits;           // * 10**(-d)
digits           5029 src/decNumber/decNumber.c       Int shift=set->digits-1;
digits           5032 src/decNumber/decNumber.c       res->digits=decShiftToMost(res->lsu, 1, shift);
digits           5047 src/decNumber/decNumber.c     h=rhs->exponent+rhs->digits;
digits           5064 src/decNumber/decNumber.c       Int maxlever=(rhs->digits>8?1:0);
digits           5076 src/decNumber/decNumber.c       Int use=-rhs->digits-lever;       // exponent to use for RHS
digits           5085 src/decNumber/decNumber.c         needbytes=sizeof(decNumber)+(D2U(rhs->digits)-1)*sizeof(Unit);
digits           5109 src/decNumber/decNumber.c       p=MAXI(x->digits, set->digits)+h+2;    // [h<=8]
digits           5147 src/decNumber/decNumber.c       aset.digits=p*2;                  // double
digits           5149 src/decNumber/decNumber.c       tset.digits=p;
digits           5164 src/decNumber/decNumber.c         if (((a->digits+a->exponent)>=(t->digits+t->exponent+p+1))
digits           5165 src/decNumber/decNumber.c             && (a->digits>=p)) break;
digits           5176 src/decNumber/decNumber.c       aset.digits=p+2;             // sufficient precision
digits           5201 src/decNumber/decNumber.c     aset.digits=set->digits;            // [use default rounding]
digits           5347 src/decNumber/decNumber.c     if (rhs->exponent==0 && set->digits<=40) {
digits           5349 src/decNumber/decNumber.c       if (rhs->lsu[0]==0 && rhs->lsu[1]==1 && rhs->digits==2) { // ln(10)
digits           5351 src/decNumber/decNumber.c       if (rhs->lsu[0]==10 && rhs->digits==2) {                  // ln(10)
digits           5358 src/decNumber/decNumber.c       if (rhs->lsu[0]==2 && rhs->digits==1) { // ln(2)
digits           5371 src/decNumber/decNumber.c     p=MAXI(rhs->digits, MAXI(set->digits, 7))+2;
digits           5387 src/decNumber/decNumber.c     pp=p+rhs->digits;
digits           5407 src/decNumber/decNumber.c     r=rhs->exponent+rhs->digits;        // 'normalised' exponent
digits           5415 src/decNumber/decNumber.c     aset.digits=2; aset.round=DEC_ROUND_DOWN;
digits           5429 src/decNumber/decNumber.c     aset.digits=16; aset.round=DEC_ROUND_HALF_EVEN; // restore
digits           5442 src/decNumber/decNumber.c     if (rhs->digits > set->digits) {
digits           5456 src/decNumber/decNumber.c     aset.digits=pp;                     // working context
digits           5457 src/decNumber/decNumber.c     bset.digits=pp+rhs->digits;         // wider context
digits           5480 src/decNumber/decNumber.c           (a->digits+a->exponent)>=(b->digits+b->exponent+set->digits+1)) {
digits           5481 src/decNumber/decNumber.c         if (a->digits==p) break;
digits           5498 src/decNumber/decNumber.c       aset.digits=pp;                        // working context
digits           5499 src/decNumber/decNumber.c       bset.digits=pp+rhs->digits;            // wider context
digits           5505 src/decNumber/decNumber.c     aset.digits=set->digits;            // [use default rounding]
digits           5546 src/decNumber/decNumber.c   Int   reqdigits=set->digits;     // requested DIGITS
digits           5555 src/decNumber/decNumber.c       if (lhs->digits>reqdigits) {
digits           5560 src/decNumber/decNumber.c       if (rhs->digits>reqdigits) { // [this only checks lostDigits]
digits           5613 src/decNumber/decNumber.c       if ((lhs->digits-adjust)>reqdigits) {
digits           5623 src/decNumber/decNumber.c         workset.digits=lhs->digits-adjust;   // set requested length
digits           5633 src/decNumber/decNumber.c           if (res->digits==reqdigits) {      // cannot shift by 1
digits           5638 src/decNumber/decNumber.c           res->digits=decShiftToMost(res->lsu, res->digits, 1); // shift
digits           5652 src/decNumber/decNumber.c           res->digits=decShiftToMost(res->lsu, res->digits, -adjust);
digits           5660 src/decNumber/decNumber.c     if (res->exponent>set->emax-res->digits+1) {  // too big
digits           5721 src/decNumber/decNumber.c       if (lhs->digits>set->digits) {
digits           5726 src/decNumber/decNumber.c       if (rhs->digits>set->digits) {
digits           5768 src/decNumber/decNumber.c           result=decUnitCompare(lhs->lsu, D2U(lhs->digits),
digits           5769 src/decNumber/decNumber.c                                 rhs->lsu, D2U(rhs->digits), 0);
digits           5913 src/decNumber/decNumber.c   compare=decUnitCompare(lhs->lsu, D2U(lhs->digits),
digits           5914 src/decNumber/decNumber.c                          rhs->lsu, D2U(rhs->digits),
digits           6305 src/decNumber/decNumber.c   for (d=0; d<dn->digits-1; d++) { // [don't strip the final digit]
digits           6331 src/decNumber/decNumber.c     Int maxd=set->emax-set->digits+1-dn->exponent;
digits           6337 src/decNumber/decNumber.c   decShiftToLeast(dn->lsu, D2U(dn->digits), d);
digits           6339 src/decNumber/decNumber.c   dn->digits-=d;                   // new length
digits           6377 src/decNumber/decNumber.c static Int decShiftToMost(Unit *uar, Int digits, Int shift) {
digits           6382 src/decNumber/decNumber.c   if (shift==0) return digits;     // [fastpath] nothing to do
digits           6383 src/decNumber/decNumber.c   if ((digits+shift)<=DECDPUN) {   // [fastpath] single-unit case
digits           6385 src/decNumber/decNumber.c     return digits+shift;
digits           6389 src/decNumber/decNumber.c   source=uar+D2U(digits)-1;        // where msu comes from
digits           6396 src/decNumber/decNumber.c     first=uar+D2U(digits+shift)-1; // where msu of source will end up
digits           6417 src/decNumber/decNumber.c   return digits+shift;
digits           6508 src/decNumber/decNumber.c                           +(D2U(set->digits)-1)*sizeof(Unit));
digits           6539 src/decNumber/decNumber.c   decSetCoeff(dest, set, src->lsu, src->digits, residue, status);
digits           6592 src/decNumber/decNumber.c   discard=len-set->digits;    // digits to discard
digits           6600 src/decNumber/decNumber.c       dn->digits=len;         // set the new length
digits           6624 src/decNumber/decNumber.c     dn->digits=1;             // ..
digits           6653 src/decNumber/decNumber.c     if (set->digits<=0) {     // special for Quantize/Subnormal :-(
digits           6655 src/decNumber/decNumber.c       dn->digits=1;           // ..
digits           6658 src/decNumber/decNumber.c       count=set->digits;      // now digits to end up with
digits           6659 src/decNumber/decNumber.c       dn->digits=count;       // set the new length
digits           6698 src/decNumber/decNumber.c     if (set->digits<=0) {          // special for Quantize/Subnormal :-(
digits           6700 src/decNumber/decNumber.c       dn->digits=1;                // ..
digits           6703 src/decNumber/decNumber.c       count=set->digits;           // now digits to end up with
digits           6704 src/decNumber/decNumber.c       dn->digits=count;            // set the new length
digits           6847 src/decNumber/decNumber.c     uInt count=dn->digits;                   // digits to be checked
digits           6857 src/decNumber/decNumber.c         if ((dn->exponent+dn->digits)>set->emax+1) {
digits           6871 src/decNumber/decNumber.c     uInt count=dn->digits;                   // digits to be checked
digits           6886 src/decNumber/decNumber.c         if (dn->exponent+1==set->emin-set->digits+1) { //-V584
digits           6887 src/decNumber/decNumber.c           if (count==1 && dn->digits==1) *sup=0;  // here 9 -> 0[.9]
digits           6890 src/decNumber/decNumber.c             dn->digits--;
digits           6906 src/decNumber/decNumber.c   decUnitAddSub(dn->lsu, D2U(dn->digits), uarrone, 1, 0, dn->lsu, bump);
digits           6936 src/decNumber/decNumber.c       if (set->digits >= (dn->exponent+dn->digits)) {
digits           6937 src/decNumber/decNumber.c         dn->digits=decShiftToMost(dn->lsu, dn->digits, dn->exponent);
digits           6964 src/decNumber/decNumber.c   Int tinyexp=set->emin-dn->digits+1;   // precalculate subnormal boundary
digits           7001 src/decNumber/decNumber.c   if (dn->exponent<=set->emax-set->digits+1) return;   // neither needed
digits           7004 src/decNumber/decNumber.c   if (dn->exponent>set->emax-dn->digits+1) {           // too big
digits           7012 src/decNumber/decNumber.c   shift=dn->exponent-(set->emax-set->digits+1);
digits           7016 src/decNumber/decNumber.c     dn->digits=decShiftToMost(dn->lsu, dn->digits, shift);
digits           7040 src/decNumber/decNumber.c     if (set->clamp) emax-=set->digits-1;     // lower if clamping
digits           7082 src/decNumber/decNumber.c   Int count=set->digits;           // nines to add
digits           7083 src/decNumber/decNumber.c   dn->digits=count;
digits           7094 src/decNumber/decNumber.c   dn->exponent=set->emax-set->digits+1;
digits           7131 src/decNumber/decNumber.c   etiny=set->emin-(set->digits-1);      // smallest allowed exponent
digits           7155 src/decNumber/decNumber.c   workset.digits=dn->digits-adjust;     // set requested length
digits           7158 src/decNumber/decNumber.c   decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status);
digits           7168 src/decNumber/decNumber.c     dn->digits=decShiftToMost(dn->lsu, dn->digits, 1);
digits           7197 src/decNumber/decNumber.c   if (set->digits>DEC_MAX_MATH
digits           7200 src/decNumber/decNumber.c    else if ((rhs->digits>DEC_MAX_MATH
digits           7201 src/decNumber/decNumber.c      || rhs->exponent+rhs->digits>DEC_MAX_MATH+1
digits           7202 src/decNumber/decNumber.c      || rhs->exponent+rhs->digits<2*(1-DEC_MAX_MATH))
digits           7226 src/decNumber/decNumber.c   Int  ilength=dn->digits+dn->exponent; // integral length
digits           7314 src/decNumber/decNumber.c   if (drop>=dn->digits) {               // losing the whole thing
digits           7316 src/decNumber/decNumber.c     dn->digits=1;
digits           7319 src/decNumber/decNumber.c   msu=dn->lsu+D2U(dn->digits-drop)-1;   // -> likely msu
digits           7320 src/decNumber/decNumber.c   cut=MSUDIGITS(dn->digits-drop);       // digits to be in use in msu
digits           7323 src/decNumber/decNumber.c   dn->digits=decGetDigits(dn->lsu, msu-dn->lsu+1);
digits           7381 src/decNumber/decNumber.c   if (lhs->digits<=set->digits) decNumberCopy(res, lhs); // easy
digits           7387 src/decNumber/decNumber.c     uresp1=res->lsu+D2U(set->digits);
digits           7391 src/decNumber/decNumber.c     res->digits=D2U(set->digits)*DECDPUN;
digits           7393 src/decNumber/decNumber.c     if (res->digits>set->digits) decDecap(res, res->digits-set->digits);
digits           7446 src/decNumber/decNumber.c   Int  digits=(len-1)*DECDPUN+1;   // possible digits excluding msu
digits           7453 src/decNumber/decNumber.c       if (digits==1) break;        // a zero has one digit
digits           7454 src/decNumber/decNumber.c       digits-=DECDPUN;             // adjust for 0 unit
digits           7459 src/decNumber/decNumber.c     digits++;
digits           7462 src/decNumber/decNumber.c     digits++;
digits           7465 src/decNumber/decNumber.c     digits++;
digits           7467 src/decNumber/decNumber.c     for (pow=&powers[4]; *up>=*pow; pow++) digits++;
digits           7474 src/decNumber/decNumber.c   return digits;
digits             71 src/decNumber/decNumber.h     int32_t digits;      /* Count of digits in the coefficient; >0    */
digits            180 src/decNumber/decNumber.h                                     && (dn)->digits==1 \
digits            225 src/dps8/dps8_cable.c     char * digits = "0123456789";
digits            226 src/dps8/dps8_cable.c     q = strchr (digits, tolower (*p));
digits             49 src/dps8/dps8_decimal.c     context->digits = 65;
digits             70 src/dps8/dps8_decimal.c     context->digits = 63 + 63;   // worse case for multiply
digits             91 src/dps8/dps8_decimal.c 
digits            103 src/dps8/dps8_decimal.c     Int   digits;                    // digits count
digits            120 src/dps8/dps8_decimal.c     digits=(Int)(last-first)+1;              // calculate digits ..
digits            122 src/dps8/dps8_decimal.c     if (digits!=0)
digits            123 src/dps8/dps8_decimal.c        dn->digits=digits;     // count of actual digits [if 0,
digits            130 src/dps8/dps8_decimal.c         if ((dn->digits-scale-1)<-DECNUMMAXE)        // underflow
digits            142 src/dps8/dps8_decimal.c             || ((dn->digits-scale-1)>DECNUMMAXE))   // overflow
digits            150 src/dps8/dps8_decimal.c     if (digits==0)
digits            167 src/dps8/dps8_decimal.c         digits--;
digits            168 src/dps8/dps8_decimal.c         if (digits==0)
digits            227 src/dps8/dps8_decimal.c 
digits            235 src/dps8/dps8_decimal.c 
digits            293 src/dps8/dps8_decimal.c 
digits            294 src/dps8/dps8_decimal.c 
digits            312 src/dps8/dps8_decimal.c 
digits            337 src/dps8/dps8_decimal.c 
digits            338 src/dps8/dps8_decimal.c 
digits            346 src/dps8/dps8_decimal.c 
digits            356 src/dps8/dps8_decimal.c 
digits            381 src/dps8/dps8_decimal.c 
digits            382 src/dps8/dps8_decimal.c 
digits            391 src/dps8/dps8_decimal.c 
digits            431 src/dps8/dps8_decimal.c 
digits            463 src/dps8/dps8_decimal.c 
digits            464 src/dps8/dps8_decimal.c 
digits            475 src/dps8/dps8_decimal.c 
digits            479 src/dps8/dps8_decimal.c 
digits            488 src/dps8/dps8_decimal.c 
digits            489 src/dps8/dps8_decimal.c 
digits            506 src/dps8/dps8_decimal.c 
digits            507 src/dps8/dps8_decimal.c 
digits            513 src/dps8/dps8_decimal.c 
digits            515 src/dps8/dps8_decimal.c 
digits            520 src/dps8/dps8_decimal.c 
digits            524 src/dps8/dps8_decimal.c 
digits            542 src/dps8/dps8_decimal.c 
digits            553 src/dps8/dps8_decimal.c 
digits            555 src/dps8/dps8_decimal.c 
digits            559 src/dps8/dps8_decimal.c 
digits            561 src/dps8/dps8_decimal.c 
digits            564 src/dps8/dps8_decimal.c 
digits            565 src/dps8/dps8_decimal.c 
digits            570 src/dps8/dps8_decimal.c 
digits            581 src/dps8/dps8_decimal.c 
digits            585 src/dps8/dps8_decimal.c 
digits            597 src/dps8/dps8_decimal.c 
digits            598 src/dps8/dps8_decimal.c 
digits            601 src/dps8/dps8_decimal.c 
digits            616 src/dps8/dps8_decimal.c 
digits            643 src/dps8/dps8_decimal.c 
digits            644 src/dps8/dps8_decimal.c 
digits            647 src/dps8/dps8_decimal.c 
digits            652 src/dps8/dps8_decimal.c 
digits            660 src/dps8/dps8_decimal.c 
digits            669 src/dps8/dps8_decimal.c 
digits            672 src/dps8/dps8_decimal.c 
digits            683 src/dps8/dps8_decimal.c 
digits            686 src/dps8/dps8_decimal.c 
digits            687 src/dps8/dps8_decimal.c 
digits            689 src/dps8/dps8_decimal.c 
digits            693 src/dps8/dps8_decimal.c 
digits            720 src/dps8/dps8_decimal.c   int safe = set->digits;
digits            751 src/dps8/dps8_decimal.c         set->digits = min (DECNUMDIGITS, max (set->digits, r->digits + r->exponent - sf));
digits            758 src/dps8/dps8_decimal.c       set->digits = safe;
digits            768 src/dps8/dps8_decimal.c     int r2digits = r2->digits;
digits            778 src/dps8/dps8_decimal.c       set->digits = r2digits - (nout + min (sf,0));
digits            780 src/dps8/dps8_decimal.c       set->digits = safe;
digits            791 src/dps8/dps8_decimal.c   if (nout < r->digits) { // not enough space to move all digits
digits            798 src/dps8/dps8_decimal.c     set->digits = nout;
digits            800 src/dps8/dps8_decimal.c     set->digits = safe;
digits            813 src/dps8/dps8_decimal.c   int justif = nout - r->digits;
digits             40 src/dps8/dps8_decimal.h         sim_printf("%s:'%s E%d'\n", msg, getBCDn(dn, set->digits), dn->exponent);  \
digits           10320 src/dps8/dps8_eis.c     if (op3->digits > 63) {
digits           10329 src/dps8/dps8_eis.c             for (int i=op3->digits-1;i>=0 && pr[i]==0;i--)
digits           10333 src/dps8/dps8_eis.c         if (op3->digits - min(max(sf,0),ctz) > 63) {
digits           10335 src/dps8/dps8_eis.c             int safe = set.digits;
digits           10340 src/dps8/dps8_eis.c             set.digits = op3->digits - min(max(sf,0),ctz) - 63;
digits           10342 src/dps8/dps8_eis.c             set.digits = safe;
digits           10711 src/dps8/dps8_eis.c     if (op3->digits > 63) {
digits           10720 src/dps8/dps8_eis.c             for (int i=op3->digits-1;i>=0 && pr[i]==0;i--)
digits           10724 src/dps8/dps8_eis.c         if (op3->digits - min(max(sf,0),ctz) > 63) {
digits           10726 src/dps8/dps8_eis.c             int safe = set.digits;
digits           10731 src/dps8/dps8_eis.c             set.digits = op3->digits - min(max(sf,0),ctz) - 63;
digits           10733 src/dps8/dps8_eis.c             set.digits = safe;
digits           11032 src/dps8/dps8_eis.c     if (op3->digits > 63) {
digits           11041 src/dps8/dps8_eis.c             for (int i=op3->digits-1;i>=0 && pr[i]==0;i--)
digits           11045 src/dps8/dps8_eis.c         if (op3->digits - min(max(sf,0),ctz) > 63) {
digits           11047 src/dps8/dps8_eis.c             int safe = set.digits;
digits           11052 src/dps8/dps8_eis.c             set.digits = op3->digits - min(max(sf,0),ctz) - 63;
digits           11054 src/dps8/dps8_eis.c             set.digits = safe;
digits           11373 src/dps8/dps8_eis.c     if (op3->digits > 63) {
digits           11382 src/dps8/dps8_eis.c             for (int i=op3->digits-1;i>=0 && pr[i]==0;i--)
digits           11386 src/dps8/dps8_eis.c         if (op3->digits - min(max(sf,0),ctz) > 63) {
digits           11388 src/dps8/dps8_eis.c             int safe = set.digits;
digits           11393 src/dps8/dps8_eis.c             set.digits = op3->digits - min(max(sf,0),ctz) - 63;
digits           11395 src/dps8/dps8_eis.c             set.digits = safe;
digits           12163 src/dps8/dps8_eis.c 
digits           12171 src/dps8/dps8_eis.c 
digits           12230 src/dps8/dps8_eis.c 
digits           12231 src/dps8/dps8_eis.c 
digits           12237 src/dps8/dps8_eis.c 
digits           12243 src/dps8/dps8_eis.c 
digits           12244 src/dps8/dps8_eis.c 
digits           12288 src/dps8/dps8_eis.c 
digits           12299 src/dps8/dps8_eis.c 
digits           12301 src/dps8/dps8_eis.c 
digits           12307 src/dps8/dps8_eis.c 
digits           12314 src/dps8/dps8_eis.c 
digits           12318 src/dps8/dps8_eis.c 
digits           12329 src/dps8/dps8_eis.c 
digits           12330 src/dps8/dps8_eis.c 
digits           12505 src/dps8/dps8_eis.c 
digits           12537 src/dps8/dps8_eis.c 
digits           12538 src/dps8/dps8_eis.c 
digits           12549 src/dps8/dps8_eis.c 
digits           12553 src/dps8/dps8_eis.c 
digits           12564 src/dps8/dps8_eis.c 
digits           12565 src/dps8/dps8_eis.c 
digits           12582 src/dps8/dps8_eis.c 
digits           12583 src/dps8/dps8_eis.c 
digits           12589 src/dps8/dps8_eis.c 
digits           12592 src/dps8/dps8_eis.c 
digits           12597 src/dps8/dps8_eis.c 
digits           12601 src/dps8/dps8_eis.c 
digits           12679 src/dps8/dps8_eis.c 
digits           12690 src/dps8/dps8_eis.c 
digits           12692 src/dps8/dps8_eis.c 
digits           12696 src/dps8/dps8_eis.c 
digits           12698 src/dps8/dps8_eis.c 
digits           12701 src/dps8/dps8_eis.c 
digits           12702 src/dps8/dps8_eis.c 
digits           12707 src/dps8/dps8_eis.c 
digits           12718 src/dps8/dps8_eis.c 
digits           12722 src/dps8/dps8_eis.c 
digits           12734 src/dps8/dps8_eis.c 
digits           12735 src/dps8/dps8_eis.c 
digits           12738 src/dps8/dps8_eis.c 
digits           12749 src/dps8/dps8_eis.c 
digits           12778 src/dps8/dps8_eis.c 
digits           12779 src/dps8/dps8_eis.c 
digits           12784 src/dps8/dps8_eis.c 
digits           12806 src/dps8/dps8_eis.c 
digits           12813 src/dps8/dps8_eis.c 
digits           12824 src/dps8/dps8_eis.c 
digits           12834 src/dps8/dps8_eis.c 
digits           12835 src/dps8/dps8_eis.c 
digits           12837 src/dps8/dps8_eis.c 
digits           12850 src/dps8/dps8_eis.c 
digits           12853 src/dps8/dps8_eis.c 
digits           12854 src/dps8/dps8_eis.c 
digits           12856 src/dps8/dps8_eis.c 
digits           12860 src/dps8/dps8_eis.c 
digits           13046 src/dps8/dps8_eis.c         for (i=0; i < op1->digits; i++)
digits           13050 src/dps8/dps8_eis.c         for (i=0; i < op2->digits; i++)
digits           13094 src/dps8/dps8_eis.c         if (n2 - op3->digits > 0)
digits           13096 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op3->exponent - (n2 - op3->digits));
digits           13121 src/dps8/dps8_eis.c         if (op1->digits >= op2->digits) {
digits           13124 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op1->digits - op2->digits);
digits           13126 src/dps8/dps8_eis.c         } else if (op1->digits < op2->digits) {
digits           13128 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op2->digits - op1->digits);
digits           13138 src/dps8/dps8_eis.c                    op1->exponent,op2->exponent,op1->digits,op2->digits,_1a.digits,_2a.digits);
digits           13488 src/dps8/dps8_eis.c         for (i=0; i < op1->digits; i++)
digits           13492 src/dps8/dps8_eis.c         for (i=0; i < op2->digits; i++)
digits           13537 src/dps8/dps8_eis.c         if (n3 - op3->digits > 0)
digits           13539 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op3->exponent - (n3 - op3->digits));
digits           13564 src/dps8/dps8_eis.c         if (op1->digits >= op2->digits) {
digits           13567 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op1->digits - op2->digits);
digits           13569 src/dps8/dps8_eis.c         } else if (op1->digits < op2->digits) {
digits           13571 src/dps8/dps8_eis.c             decNumberFromInt32(&_sf, op2->digits - op1->digits);
digits           13582 src/dps8/dps8_eis.c                    op1->exponent ,op2->exponent, op1->digits,
digits           13583 src/dps8/dps8_eis.c                    op2->digits, _1a.digits, _2a.digits);