Lines Matching defs:digits
50 /* the units array is the ceiling of digits/DECDPUN, where digits is */
51 /* the maximum number of digits in any of the formats for which this */
60 /* dn is the source number (assumed valid, max DECMAX754 digits) */
63 /* shift is the number of 0 digits to add on the right (normally 0) */
80 Int digits = dn->digits; /* digit countdown */
92 /* shift the units array to the left by pad digits and copy */
99 source = dn->lsu + D2U (digits) - 1; /* where msu comes from */
100 first = uar + D2U (digits + shift) - 1; /* where msu will end up */
101 target = uar + D2U (digits) - 1 + D2U (shift); /* where upper part of first cut goes */
119 digits += shift; /* add count (shift) of zeros added */
133 for (n = 0; digits > 0; n++)
137 digits -= 3; /* [may go negative] */
161 digits--;
162 if (digits == 0)
173 /* here we have 3 digits in bin, or have used all input digits */
220 /* dn->digits is set, but not the sign or exponent. */
348 /* here, last points to the most significant unit with digits */
349 /* we need to inspect it to get final digits count */
350 dn->digits = (last - dn->lsu) * DECDPUN; /* floor of digits */
355 dn->digits++;
357 if (dn->digits == 0)
358 dn->digits++; /* zero has one digit */