Lines Matching refs:ndec
94 static void etoasc (short unsigned int *x, char *string, int ndec, int ndigs,
2845 __int32_t ndec; in __ldtoa() local
2850 ndec = expon * 146 / 485 + ndigits; in __ldtoa()
2853 ndec = ndigits; in __ldtoa()
2854 if (ndec < 0) in __ldtoa()
2855 ndec = 0; in __ldtoa()
2856 if (ndec > NDEC) in __ldtoa()
2857 ndec = NDEC; in __ldtoa()
2860 if (ndec > NDEC_SML) in __ldtoa()
2862 outbuf = (char *) malloc (ndec + MAX_EXP_DIGITS + 10); in __ldtoa()
2865 ndec = NDEC_SML; in __ldtoa()
2870 etoasc (e, outbuf, (int) ndec, ndigits, mode, ldp); in __ldtoa()
3003 etoasc (short unsigned int *x, char *string, int ndec, int ndigits, in etoasc() argument
3139 for (i = 0; i < ndec + 1; i++) in etoasc()
3215 if (ndigs > ndec) in etoasc()
3216 ndigs = ndec; in etoasc()