Home
last modified time | relevance | path

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

/picolibc-latest/newlib/libc/tinystdio/
Decvt_r.c51 char *digits = dtoa.digits; in ecvt_r() local
64 digits = "nan"; in ecvt_r()
66 digits = "inf"; in ecvt_r()
77 memcpy(buf, digits, ngot); in ecvt_r()
Dfcvtf_r.c52 char *digits = dtoa.digits; in fcvtf_r() local
60 digits = "nan"; in fcvtf_r()
62 digits = "inf"; in fcvtf_r()
121 memcpy(buf, digits, ndigit); in fcvtf_r()
Dfcvt_r.c54 char *digits = dtoa.digits; in fcvt_r() local
62 digits = "nan"; in fcvt_r()
64 digits = "inf"; in fcvt_r()
123 memcpy(buf, digits, ndigit); in fcvt_r()
Decvtl_r.c51 char *digits = dtoa.digits; in ecvtl_r() local
64 digits = "nan"; in ecvtl_r()
66 digits = "inf"; in ecvtl_r()
83 memcpy(buf, digits, ngot); in ecvtl_r()
Dfcvtl_r.c54 char *digits = dtoa.digits; in fcvtl_r() local
62 digits = "nan"; in fcvtl_r()
64 digits = "inf"; in fcvtl_r()
129 memcpy(buf, digits, ndigit); in fcvtl_r()
Dftoa_engine.c121 ftoa->digits[0] = '0'; in __ftoa_engine()
200 ftoa->digits[outputIdx] = digit; in __ftoa_engine()
208 ftoa->digits[outputIdx] = '9'; in __ftoa_engine()
225 if(++ftoa->digits[outputIdx-1] < '0' + 10) { in __ftoa_engine()
230 ftoa->digits[--outputIdx] = '0'; in __ftoa_engine()
242 ftoa->digits[0] = '1'; in __ftoa_engine()
Ddtoa_engine.c85 dtoa->digits[0] = '0'; in __dtoa_engine()
215 dtoa->digits[i] = (fract >> 60) + '0'; in __dtoa_engine()
Decvtf_r.c62 memcpy(buf, dtoa.digits, ngot); in ecvtf_r()
Dldtoa_engine.c141 dtoa->digits[i] = '0' + digit; in __ldtoa_engine()
Ddtox_engine.c160 dtoa->digits[d] = dig; in __dtox_engine()
Ddtoa.h116 char digits[DTOA_DIGITS]; member
Dftoa_ryu.c316 dtoa->digits[0] = '0'; in __ftoa_engine()
342 dtoa->digits[olength - i - 1] = (mant % 10) + '0'; in __ftoa_engine()
Dldtox_engine.c169 dtoa->digits[d] = dig; in __ldtox_engine()
Ddtoa_ryu.c388 dtoa->digits[0] = '0'; in __dtoa_engine()
430 dtoa->digits[olength - i - 1] = (mant % 10) + '0'; in __dtoa_engine()
Dvfprintf.c867 while (ndigs > 0 && dtoa.digits[ndigs-1] == '0') in vfprintf()
978 out = dtoa.digits[exp - n]; in vfprintf()
992 my_putc (dtoa.digits[0], stream); in vfprintf()
997 my_putc (pos < ndigs ? dtoa.digits[pos] : '0', stream); in vfprintf()
/picolibc-latest/newlib/libc/stdlib/
Dutoa.c37 const char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; in __utoa() local
54 str[i++] = digits[remainder]; in __utoa()
Dstdlib.tex24 * Function ecvtbuf:: Double or float to string of digits
25 * Function ecvt:: Double or float to string of digits (malloc result)
/picolibc-latest/newlib/libc/stdio/
Dnano-vfprintf_float.c70 char *digits, *bp, *rve; in __cvt() local
100 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in __cvt()
105 bp = digits + ndigits; in __cvt()
108 if (*digits == '0' && value) in __cvt()
118 *length = rve - digits; in __cvt()
119 return (digits); in __cvt()
Dvfwprintf.c1563 wchar_t *digits, *bp, *rve; in wcvt() local
1571 digits = ch == L'a' ? L"0123456789abcdef" : L"0123456789ABCDEF"; in wcvt()
1577 *bp++ = digits[mode]; in wcvt()
1582 while (*--rve == digits[0xf]) { in wcvt()
1585 *rve = *rve == L'9' ? digits[0xa] : *rve + 1; in wcvt()
1609 char *digits, *bp, *rve; in wcvt() local
1614 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in wcvt()
1617 bp = digits + ndigits; in wcvt()
1619 if (*digits == L'0' && value) in wcvt()
1629 *length = rve - digits; /* full length of the string */ in wcvt()
[all …]
Dvfprintf.c1554 char *digits, *bp, *rve; in cvt() local
1588 digits = ch == 'a' ? "0123456789abcdef" : "0123456789ABCDEF"; in cvt()
1594 *bp++ = digits[mode]; in cvt()
1599 while (*--rve == digits[0xf]) { in cvt()
1602 *rve = *rve == '9' ? digits[0xa] : *rve + 1; in cvt()
1625 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in cvt()
1626 if (!digits) in cvt()
1630 bp = digits + ndigits; in cvt()
1632 if (*digits == '0' && value) in cvt()
1641 *length = rve - digits; in cvt()
[all …]
/picolibc-latest/newlib/libc/locale/
Dlocale.tex54 The character (if any) used to separate groups of digits, when
59 Specifications for how many digits to group (if any grouping is done at
61 character in the string represents the number of digits for the next
63 @code{NULL}) means to continue grouping digits using the last value
97 The number of digits to display when formatting amounts of money to
103 The number of digits to display when formatting amounts of money to
/picolibc-latest/doc/
Dprintf.md236 printf and scanf. When enabled, printing at least 9 digits
237 (e.g. "%.9g") for 32-bit floats and 17 digits (e.g. "%.17g") for
/picolibc-latest/
DREADME.md236 than the required number of digits, but that's permitted by the C
/picolibc-latest/newlib/
DChangeLog-20154112 int. *length is set to the value of (rev - digits) regardless
5100 (alt_digits_t): New type to store alternative digits.
5105 alternative digits.
19983 are padding zeroes (expt) in addition to any digits (ndig) to
21339 insert zeroes after significant digits.
26560 when base 16 is specified. Don't accept non-digits if radix > 10.