/third_party/musl/libc-test/src/functionalext/supplement/stdlib/ |
D | functionalext_fcvt.c | 30 int decpt, sign; in fcvt_0100() local 31 char *result = fcvt(123.456, 2, &decpt, &sign); in fcvt_0100() 34 EXPECT_EQ("fcvt_0100_decpt", decpt, 3); in fcvt_0100() 40 int decpt, sign; in fcvt_0200() local 41 char *result = fcvt(123.454, 2, &decpt, &sign); in fcvt_0200() 44 EXPECT_EQ("fcvt_0100_decpt", decpt, 3); in fcvt_0200() 54 int decpt, sign; in fcvt_0300() local 55 char *result = fcvt(0.0, 2, &decpt, &sign); in fcvt_0300() 58 EXPECT_EQ("fcvt_0300_decpt", decpt, 1); in fcvt_0300() 69 int decpt, sign; in fcvt_0400() local [all …]
|
/third_party/python/Python/ |
D | pystrtod.c | 1007 Py_ssize_t decpt, digits_len, vdigits_start, vdigits_end; in format_float_short() local 1017 decpt = (Py_ssize_t)decpt_as_int; in format_float_short() 1106 vdigits_end = decpt + precision; in format_float_short() 1109 if (decpt <= -4 || decpt > in format_float_short() 1121 if (decpt <= -4 || decpt > 16) in format_float_short() 1132 exp = (int)decpt - 1; in format_float_short() 1133 decpt = 1; in format_float_short() 1137 vdigits_start = decpt <= 0 ? decpt-1 : 0; in format_float_short() 1139 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt + 1; in format_float_short() 1141 vdigits_end = vdigits_end > decpt ? vdigits_end : decpt; in format_float_short() [all …]
|
D | dtoa.c | 2248 int *decpt, int *sign, char **rve) in _Py_dg_dtoa() argument 2313 *decpt = 9999; in _Py_dg_dtoa() 2319 *decpt = 1; in _Py_dg_dtoa() 2838 *decpt = k + 1; in _Py_dg_dtoa()
|
/third_party/FreeBSD/contrib/gdtoa/ |
D | gethex.c | 47 CONST unsigned char *decpt, *s0, *s, *s1; local 78 decpt = 0; 90 decpt = s += i; 94 decpt = ++s; 108 if (*s == *decimalpoint && !decpt) { 113 decpt = s += i; 115 if (*s == '.' && !decpt) { 116 decpt = ++s; 121 if (decpt) 122 e = -(((Long)(s-decpt)) << 2);
|
D | gdtoa.h | 106 extern char* dtoa ANSI((double d, int mode, int ndigits, int *decpt, 109 int mode, int ndigits, int *decpt, char **rve));
|
D | strtod.c | 95 int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, dsign, local 145 sign = nz0 = nz = decpt = 0; 225 decpt = 1; 300 if (!decpt)
|
D | strtodg.c | 325 int bb0, bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, decpt, denorm; local 407 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) 424 decpt = 1; 498 if (!decpt)
|
D | gdtoaimp.h | 610 int *decpt, int *sign, char **rve)); 613 int mode, int ndigits, int *decpt, char **rve));
|
/third_party/FreeBSD/lib/libc/stdio/ |
D | parsefloat.c | 56 const char *decpt = ""; in parsefloat() local 161 if (c == decpt[decptpos]) { in parsefloat() 162 if (decpt[++decptpos] == '\0') { in parsefloat()
|
/third_party/python/Include/internal/ |
D | pycore_dtoa.h | 15 int *decpt, int *sign, char **rve);
|
/third_party/python/Objects/ |
D | floatobject.c | 931 int decpt, sign; in double_round() local 937 buf = _Py_dg_dtoa(x, 3, ndigits, &decpt, &sign, &buf_end); in double_round() 957 buf, decpt - (int)buflen); in double_round()
|