Lines Matching refs:prec

209 …       bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags)  in _ntoa_format()  argument
216 while((len < prec) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
226 if(!(flags & FLAGS_PRECISION) && len && ((len == prec) || (len == width))) { in _ntoa_format()
264 … unsigned long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long() argument
283 …return _ntoa_format(out, buffer, idx, maxlen, buf, len, negative, (unsigned int)base, prec, width,… in _ntoa_long()
290 … bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int flags) in _ntoa_long_long() argument
309 …return _ntoa_format(out, buffer, idx, maxlen, buf, len, negative, (unsigned int)base, prec, width,… in _ntoa_long_long()
318 … _etoa(out_fct_type out, char * buffer, size_t idx, size_t maxlen, double value, unsigned int prec,
324 … _ftoa(out_fct_type out, char * buffer, size_t idx, size_t maxlen, double value, unsigned int prec, in _ftoa() argument
347 return _etoa(out, buffer, idx, maxlen, value, prec, width, flags); in _ftoa()
362 prec = PRINTF_DEFAULT_FLOAT_PRECISION; in _ftoa()
365 while((len < PRINTF_FTOA_BUFFER_SIZE) && (prec > 9U)) { in _ftoa()
367 prec--; in _ftoa()
371 double tmp = (value - whole) * pow10[prec]; in _ftoa()
378 if(frac >= pow10[prec]) { in _ftoa()
390 if(prec == 0U) { in _ftoa()
399 unsigned int count = prec; in _ftoa()
454 … _etoa(out_fct_type out, char * buffer, size_t idx, size_t maxlen, double value, unsigned int prec, in _etoa() argument
459 return _ftoa(out, buffer, idx, maxlen, value, prec, width, flags); in _etoa()
470 prec = PRINTF_DEFAULT_FLOAT_PRECISION; in _etoa()
505 if((int)prec > expval) { in _etoa()
506 prec = (unsigned)((int)prec - expval - 1); in _etoa()
509 prec = 0; in _etoa()
518 if((prec > 0) && (flags & FLAGS_PRECISION)) { in _etoa()
519 --prec; in _etoa()
546 …idx = _ftoa(out, buffer, idx, maxlen, negative ? -value : value, prec, fwidth, flags & ~FLAGS_ADAP… in _etoa()
651 const int prec = (int)va_arg(va, int); in _vsnprintf() local
652 precision = prec > 0 ? (unsigned int)prec : 0U; in _vsnprintf()