Lines Matching refs:digits
106 ae=dn->exponent+dn->digits-1; /* [0 if special] */ in decimal64FromNumber()
107 if (dn->digits>DECIMAL64_Pmax /* too many digits */ in decimal64FromNumber()
122 if ((*dn->lsu!=0 || dn->digits>1) /* non-zero coefficient */ in decimal64FromNumber()
123 && (dn->digits<DECIMAL64_Pmax)) { /* coefficient fits */ in decimal64FromNumber()
163 Int d=dn->digits; in decimal64FromNumber()
168 if (dn->digits>6) { in decimal64FromNumber()
620 Int digits=dn->digits; /* digit countdown */ in decDigitsToDPD() local
639 source=dn->lsu+D2U(digits)-1; /* where msu comes from */ in decDigitsToDPD()
640 target=uar+D2U(digits)-1+D2U(shift);/* where upper part of first cut goes */ in decDigitsToDPD()
646 first=uar+D2U(digits+shift)-1; /* where msu will end up */ in decDigitsToDPD()
666 digits+=shift; /* add count (shift) of zeros added */ in decDigitsToDPD()
678 while (digits > 0) { /* each output bunch */ in decDigitsToDPD()
681 digits-=3; /* [may go negative] */ in decDigitsToDPD()
699 digits--; in decDigitsToDPD()
700 if (digits==0) break; /* [also protects *inu below] */ in decDigitsToDPD()
830 dn->digits=(last-dn->lsu)*DECDPUN+1; /* floor of digits, plus */
834 dn->digits++; /* must be 2 at least */
837 dn->digits++; /* must be 3 at least */
840 dn->digits++; /* must be 4 at least */
842 for (pow=&DECPOWERS[4]; *last>=*pow; pow++) dn->digits++;