Lines Matching refs:ndigit
38 _gcvt(ndigit, pd, trailing, buf)
39 int ndigit;
62 for (i = 0; i < ndigit - 1; i++)
67 if (ndigit < 8)
80 if ((pd->exponent > 0) || (pd->exponent < -(ndigit + 3))) { /* E format. */
111 if (pd->exponent >= (1 - ndigit)) { /* x.xxx */
112 for (i = 0; i < (ndigit + pd->exponent);)
116 for (; i < ndigit;)
122 for (i = 0; i < -(pd->exponent + ndigit); i++)
140 gconvert(number, ndigit, trailing, buf)
142 int ndigit, trailing;
151 dm.ndigits = ndigit;
153 _gcvt(ndigit, &dr, trailing, buf);
158 gcvt(number, ndigit, buf)
160 int ndigit;
163 return (gconvert(number, ndigit, 0, buf));