Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/stdio/
Dnano-vfprintf_float.c50 char *__cvt (_PRINTF_FLOAT_TYPE value, int ndigits,
66 __cvt (struct _reent *data, _PRINTF_FLOAT_TYPE value, int ndigits, int flags, in __cvt() argument
94 ndigits++; in __cvt()
100 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in __cvt()
105 bp = digits + ndigits; in __cvt()
109 *decpt = -ndigits + 1; in __cvt()
Dvfwprintf.c1533 wcvt(_PRINTF_FLOAT_TYPE value, int ndigits, int flags, in wcvt() argument
1578 } while (ndigits-- && value); in wcvt()
1587 while (ndigits-- >= 0) { in wcvt()
1603 ndigits++; in wcvt()
1614 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in wcvt()
1617 bp = digits + ndigits; in wcvt()
1620 *decpt = -ndigits + 1; in wcvt()
Dvfprintf.c1550 cvt(_PRINTF_FLOAT_TYPE value, int ndigits, int flags, in cvt() argument
1595 } while (ndigits-- && value); in cvt()
1604 while (ndigits-- >= 0) { in cvt()
1620 ndigits++; in cvt()
1625 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in cvt()
1630 bp = digits + ndigits; in cvt()
1633 *decpt = -ndigits + 1; in cvt()
/picolibc-latest/newlib/libc/stdlib/
Ddtoa.c183 int ndigits, in __dtoa() argument
397 ndigits = 0; in __dtoa()
403 if (ndigits <= 0) in __dtoa()
404 ndigits = 1; in __dtoa()
405 ilim = ilim1 = i = ndigits; in __dtoa()
411 i = ndigits + k + 1; in __dtoa()
543 if (ndigits < 0 && ilim <= 0) in __dtoa()
722 k = -1 - ndigits; in __dtoa()
Dgdtoa.h109 double d, int mode, int ndigits, int *decpt,
113 int mode, int ndigits, int *decpt, char **rve);
Dldtoa.c2800 __ldtoa (long double d, int mode, int ndigits, in __ldtoa() argument
2815 orig_ndigits = ndigits; in __ldtoa()
2835 ndigits -= 1; in __ldtoa()
2840 ndigits = 20; in __ldtoa()
2850 ndec = expon * 146 / 485 + ndigits; in __ldtoa()
2853 ndec = ndigits; in __ldtoa()
2870 etoasc (e, outbuf, (int) ndec, ndigits, mode, ldp); in __ldtoa()
2923 else if (ndigits > ldp->outexpon) in __ldtoa()
2924 k = ndigits; in __ldtoa()
2933 if (mode == 3 && ((ndigits + ldp->outexpon) < 0)) in __ldtoa()
[all …]
Dmprec.h314 extern "C" char *dtoa(double d, int mode, int ndigits,
/picolibc-latest/newlib/libc/posix/
Dregcomp.c662 int ndigits = 0; in p_count() local
666 ndigits++; in p_count()
669 (void)REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR); in p_count()