Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 1 of 1) sorted by relevance

/fatfs-latest/
Dff.c6840 int prec, /* Number of fractional digits */ argument
6855 if (prec < 0) prec = 6; /* Default precision? (6 fractional digits) */
6865 val += i10x(0 - prec) / 2; /* Round (nearest) */
6868 if (mag + prec + 3 >= SZ_NUM_BUF) er = "OV"; /* Buffer overflow? */
6871 val += i10x(ilog10(val) - prec) / 2; /* Round (nearest) */
6873 if (exp > 99 || prec + 7 >= SZ_NUM_BUF) { /* Buffer overflow or E > +99? */
6889 } while (--mag >= -prec); /* Output all digits specified by prec */
6923 int prec; local
6946 flag = width = 0; pad = ' '; prec = -1; /* Initialize the parameters */
6965 prec = va_arg(arp, int);
[all …]