Lines Matching refs:ndigits
75 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument
117 if (ndigits == 0) /* dtoa() compatibility */ in __hldtoa()
118 ndigits = 1; in __hldtoa()
124 bufsize = (ndigits > 0) ? ndigits : SIGFIGS; in __hldtoa()
128 if (SIGFIGS > ndigits && ndigits > 0) { in __hldtoa()
130 int offset = 4 * ndigits + LDBL_MAX_EXP - 4 - LDBL_MANT_DIG; in __hldtoa()
154 if (ndigits < 0) { in __hldtoa()
155 for (ndigits = SIGFIGS; s0[ndigits - 1] == '0'; ndigits--) in __hldtoa()
159 s = s0 + ndigits; in __hldtoa()
169 __hldtoa(long double e, const char *xdigs, int ndigits, int *decpt, int *sign, in __hldtoa() argument
173 return (__hdtoa((double)e, xdigs, ndigits, decpt, sign, rve)); in __hldtoa()