Lines Matching refs:prec

53   int prec;            /* precision from format; <0 for N/A */  in FUNCTION_NAME()  local
177 prec = -1; in FUNCTION_NAME()
220 prec = n < 0 ? -1 : n; in FUNCTION_NAME()
239 prec = n; in FUNCTION_NAME()
352 if (prec >= 0) prec++; in FUNCTION_NAME()
356 dtoaresult = cp = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
363 dtoaresult = cp = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
369 if (prec < 0) prec = dtoaend - dtoaresult; in FUNCTION_NAME()
375 if (prec < 0) /* account for digit before decpt */ in FUNCTION_NAME()
376 prec = DEFPREC + 1; in FUNCTION_NAME()
378 prec++; in FUNCTION_NAME()
387 if (prec == 0) prec = 1; in FUNCTION_NAME()
389 if (prec < 0) prec = DEFPREC; in FUNCTION_NAME()
393 dtoaresult = cp = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
400 dtoaresult = cp = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME()
422 if (expt > -4 && expt <= prec) { in FUNCTION_NAME()
426 prec -= expt; in FUNCTION_NAME()
428 prec = ndig - expt; in FUNCTION_NAME()
429 if (prec < 0) prec = 0; in FUNCTION_NAME()
435 if (!(flags & ALT)) prec = ndig; in FUNCTION_NAME()
440 size = expsize + prec; in FUNCTION_NAME()
441 if (prec > 1 || flags & ALT) ++size; in FUNCTION_NAME()
449 if (prec || flags & ALT) size += prec + 1; in FUNCTION_NAME()
490 convbuf = helpers::wcsconv(wcp, prec); in FUNCTION_NAME()
501 if (prec >= 0) { in FUNCTION_NAME()
502 size = CHAR_TYPE_STRNLEN(cp, prec); in FUNCTION_NAME()
538 if ((dprec = prec) >= 0) flags &= ~ZEROPAD; in FUNCTION_NAME()
546 if (_umax != 0 || prec != 0) { in FUNCTION_NAME()
637 if (prec || flags & ALT) PRINT(decimal_point, 1); in FUNCTION_NAME()
640 prec += expt; in FUNCTION_NAME()
644 if (prec || flags & ALT) PRINT(decimal_point, 1); in FUNCTION_NAME()
646 PRINTANDPAD(cp, dtoaend, prec, zeroes); in FUNCTION_NAME()
648 if (prec > 1 || flags & ALT) { in FUNCTION_NAME()
653 PAD(prec - ndig, zeroes); in FUNCTION_NAME()