/picolibc-latest/newlib/libc/stdlib/ |
D | ecvtbuf.c | 82 int decpt; in print_e() local 86 p = __dtoa (invalue, 2, width + 1, &decpt, &sign, &end); in print_e() 92 if (decpt == 9999) in print_e() 135 decpt--; in print_e() 136 if (decpt < 0) in print_e() 139 decpt = -decpt; in print_e() 145 if (decpt > 99) in print_e() 147 int top = decpt / 100; in print_e() 149 decpt -= top * 100; in print_e() 151 top = decpt / 10; in print_e() [all …]
|
D | efgcvt.c | 113 int *decpt, in fcvt() argument 116 return fcvtbuf (d, ndigit, decpt, sign, NULL); in fcvt() 122 int *decpt, in fcvtf() argument 125 return fcvt ((double) d, ndigit, decpt, sign); in fcvtf() 157 int *decpt, in ecvt() argument 160 return ecvtbuf (d, ndigit, decpt, sign, NULL); in ecvt() 166 int *decpt, in ecvtf() argument 169 return ecvt ((double) d, ndigit, decpt, sign); in ecvtf()
|
D | gdtoa-gethex.c | 154 const unsigned char *decpt, *s0, *s, *s1; in gethex() local 176 decpt = 0; in gethex() 184 decpt = (s += decp_len); in gethex() 198 && !decpt) { in gethex() 199 decpt = (s += decp_len); in gethex() 203 if (decpt) in gethex() 204 e = -(((Long)(s-decpt)) << 2); in gethex()
|
D | gdtoa.h | 109 double d, int mode, int ndigits, int *decpt, 113 int mode, int ndigits, int *decpt, char **rve);
|
D | dtoa.c | 184 int *decpt, in __dtoa() argument 253 *decpt = 9999; in __dtoa() 273 *decpt = 1; in __dtoa() 854 *decpt = k + 1; in __dtoa()
|
D | strtod.c | 248 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, local 276 sign = nz0 = nz = decpt = 0; 360 decpt = 1; 437 if (!decpt)
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | ecvtl.c | 47 int *decpt, in ecvtl() argument 50 if (ecvtl_r(invalue, ndigit, decpt, sign, ecvt_buf, sizeof(ecvt_buf)) < 0) in ecvtl() 63 int *decpt, in ecvtl() argument 66 return ecvtf((float) invalue, ndigit, decpt, sign); in ecvtl() 76 int *decpt, in ecvtl() argument 79 return ecvt((double) invalue, ndigit, decpt, sign); in ecvtl()
|
D | fcvtl.c | 49 int *decpt, in fcvtl() argument 52 if (fcvtl_r(invalue, ndigit, decpt, sign, fcvt_buf, sizeof(fcvt_buf)) < 0) in fcvtl() 64 int *decpt, in fcvtl() argument 67 return fcvtf((float) invalue, ndecimal, decpt, sign); in fcvtl() 77 int *decpt, in fcvtl() argument 80 return fcvt((double) invalue, ndecimal, decpt, sign); in fcvtl()
|
D | ecvtl_r.c | 45 int *decpt, in ecvtl_r() argument 62 *decpt = 0; in ecvtl_r() 80 *decpt = dtoa.exp + 1; in ecvtl_r() 95 int *decpt, in ecvtl_r() argument 100 return ecvtf_r((float) invalue, ndigit, decpt, sign, buf, len); in ecvtl_r() 110 int *decpt, in ecvtl_r() argument 115 return ecvt_r((double) invalue, ndigit, decpt, sign, buf, len); in ecvtl_r()
|
D | fcvtl_r.c | 45 int *decpt, in fcvtl_r() argument 60 *decpt = 0; in fcvtl_r() 119 *decpt = dtoa.exp + 1; in fcvtl_r() 148 int *decpt, in fcvtl_r() argument 153 return fcvtf_r((float) invalue, ndecimal, decpt, sign, buf, len); in fcvtl_r() 163 int *decpt, in fcvtl_r() argument 168 return fcvt_r((double) invalue, ndecimal, decpt, sign, buf, len); in fcvtl_r()
|
D | ecvt.c | 49 int *decpt, in ecvt() argument 52 if (ecvt_r(invalue, ndigit, decpt, sign, ecvt_buf, sizeof(ecvt_buf)) < 0) in ecvt() 62 int *decpt, in ecvt() argument 65 return ecvtf((float) invalue, ndigit, decpt, sign); in ecvt()
|
D | fcvt.c | 51 int *decpt, in fcvt() argument 54 if (fcvt_r(invalue, ndigit, decpt, sign, fcvt_buf, sizeof(fcvt_buf)) < 0) in fcvt() 64 int *decpt, in fcvt() argument 67 return fcvtf((float) invalue, ndigit, decpt, sign); in fcvt()
|
D | ecvt_r.c | 45 int *decpt, in ecvt_r() argument 62 *decpt = 0; in ecvt_r() 74 *decpt = dtoa.exp + 1; in ecvt_r() 89 int *decpt, in ecvt_r() argument 94 return ecvtf_r(invalue, ndigit, decpt, sign, buf, len); in ecvt_r()
|
D | fcvt_r.c | 45 int *decpt, in fcvt_r() argument 60 *decpt = 0; in fcvt_r() 113 *decpt = dtoa.exp + 1; in fcvt_r() 142 int *decpt, in fcvt_r() argument 147 return fcvtf_r((float) invalue, ndecimal, decpt, sign, buf, len); in fcvt_r()
|
D | fcvtf_r.c | 43 int *decpt, in fcvtf_r() argument 58 *decpt = 0; in fcvtf_r() 111 *decpt = dtoa.exp + 1; in fcvtf_r()
|
D | ecvtf.c | 47 int *decpt, in ecvtf() argument 50 if (ecvtf_r(invalue, ndigit, decpt, sign, ecvtf_buf, sizeof(ecvtf_buf)) < 0) in ecvtf()
|
D | fcvtf.c | 47 int *decpt, in fcvtf() argument 50 if (fcvtf_r(invalue, ndecimal, decpt, sign, fcvtf_buf, sizeof(fcvtf_buf)) < 0) in fcvtf()
|
D | ecvtf_r.c | 44 int *decpt, in ecvtf_r() argument 60 *decpt = dtoa.exp + 1; in ecvtf_r()
|
/picolibc-latest/test/ |
D | test-efcvt.c | 44 int decpt; member 176 int decpt; \ 178 int ret = func(tests[i].value, tests[i].ndigit, &decpt, &sign, buf, sizeof(buf)); \ 189 decpt != tests[i].decpt || \ 193 i, buf, decpt, sign, \ 194 tests[i].expect, tests[i].decpt, tests[i].sign); \
|
/picolibc-latest/newlib/libc/stdio/ |
D | nano-vfprintf_float.c | 51 int flags, char *sign, int *decpt, int ch, int *length, 67 char *sign, int *decpt, int ch, int *length, char *buf) in __cvt() argument 100 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in __cvt() 109 *decpt = -ndigits + 1; in __cvt() 110 bp += *decpt; in __cvt()
|
D | vfwscanf.c | 325 wchar_t decpt; in _SVFWSCANF() local 476 decpt = *__get_current_numeric_locale ()->wdecimal_point; in _SVFWSCANF() 482 nconv = mbrtowc (&decpt, in _SVFWSCANF() 486 decpt = L'.'; in _SVFWSCANF() 490 decpt = (wchar_t) *localeconv ()->decimal_point; in _SVFWSCANF() 1445 if ((wchar_t) c == decpt && (flags & DPTOK)) in _SVFWSCANF()
|
D | vfscanf.c | 1542 const char *decpt = localeconv ()->decimal_point; in _SVFSCANF() local 1755 if ((unsigned char) c == (unsigned char) decpt[0] in _SVFSCANF() 1767 == (unsigned char) decpt[decptpos]) in _SVFSCANF() 1769 if (decpt[++decptpos] == '\0') in _SVFSCANF() 1774 p = stpncpy (p, decpt, decptpos); in _SVFSCANF() 1792 ungetc ( (unsigned char) decpt[decptpos], in _SVFSCANF()
|
D | vfwprintf.c | 1534 wchar_t *sign, int *decpt, int ch, int *length, wchar_t *buf, int len) in wcvt() argument 1568 value = FREXP (value, decpt) / 8; in wcvt() 1570 *decpt = 1; in wcvt() 1614 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in wcvt() 1620 *decpt = -ndigits + 1; in wcvt() 1621 bp += *decpt; in wcvt()
|
D | vfprintf.c | 1551 char *sign, int *decpt, int ch, int *length, char *buf) in cvt() argument 1585 value = FREXP (value, decpt) / 8; in cvt() 1587 *decpt = 1; in cvt() 1625 digits = _DTOA (value, mode, ndigits, decpt, &dsgn, &rve); in cvt() 1633 *decpt = -ndigits + 1; in cvt() 1634 bp += *decpt; in cvt()
|
/picolibc-latest/newlib/libm/test/ |
D | dcvt.c | 545 int *decpt, in fcvtbuf() argument 565 *decpt = in.dot_idx; in fcvtbuf() 574 int *decpt, in ecvtbuf() argument 596 *decpt = in.dot_idx; in ecvtbuf()
|