Searched refs:decpt (Results 1 – 5 of 5) sorted by relevance
/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/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()
|
/third_party/quickjs/ |
D | quickjs.c | 11315 static void js_ecvt1(double d, int n_digits, int *decpt, int *sign, char *buf, in js_ecvt1() argument 11330 *decpt = atoi(buf1 + n_digits + 2 + (n_digits > 1)) + 1; in js_ecvt1() 11338 static int js_ecvt(double d, int n_digits, int *decpt, int *sign, char *buf, in js_ecvt() argument 11351 js_ecvt1(d, n_digits, decpt, sign, buf, FE_TONEAREST, in js_ecvt() 11393 js_ecvt1(d, n_digits, decpt, sign, buf, rounding_mode, in js_ecvt() 11486 int sign, decpt, k, n, i, p, n_max; in js_dtoa1() local 11496 k = js_ecvt(d, n_digits, &decpt, &sign, buf1, is_fixed); in js_dtoa1() 11497 n = decpt; /* d=10^(n-k)*(buf1) i.e. d= < x.yyyy 10^(n-1) */ in js_dtoa1()
|