Searched refs:has_decimal (Results 1 – 1 of 1) sorted by relevance
414 Py_ssize_t *n_remainder, int *has_decimal) in parse_number() argument424 *has_decimal = ptr<end && *remainder == '.'; in parse_number()427 if (*has_decimal) in parse_number()441 int has_decimal, const LocaleInfo *locale, in calc_number_widths() argument447 spec->n_digits = n_number - n_remainder - (has_decimal?1:0); in calc_number_widths()450 spec->n_decimal = has_decimal ? strlen(locale->decimal_point) : 0; in calc_number_widths()937 int has_decimal; in format_float_internal() local1039 parse_number(p, n_digits, &n_remainder, &has_decimal); in format_float_internal()1050 n_remainder, has_decimal, &locale, format); in format_float_internal()