• Home
  • Raw
  • Download

Lines Matching full:decimal

118    have to first fix the decimal separator.
176 /* Check that what's left begins with a digit or decimal point */ in _PyOS_ascii_strtod()
185 swapped for the current locale's decimal point before we in _PyOS_ascii_strtod()
187 locale's decimal point then the input is invalid. */ in _PyOS_ascii_strtod()
210 /* For the other cases, we need not convert the decimal in _PyOS_ascii_strtod()
217 locale-specific decimal point */ in _PyOS_ascii_strtod()
372 /* Given a string that may have a decimal point in the current
477 /* Remove trailing zeros after the decimal point from a numeric string; also
478 remove the decimal point if all digits following it are zero. The numeric
480 whitespace. Assumes that the decimal point is '.'. */
493 /* if there's no decimal point there's nothing to do */ in remove_trailing_zeros()
520 /* Ensure that buffer has a decimal point in it. The decimal point will not
521 be in the current locale, it will always be '.'. Don't add a decimal point
546 /* Nothing to do, we already have a decimal in ensure_decimal_point()
550 /* We have a decimal point, but no following in ensure_decimal_point()
551 digit. Insert a zero after the decimal. */ in ensure_decimal_point()
595 /* insert decimal point */ in ensure_decimal_point()
629 * decimal point. To format the number you pass in
633 * 'Z' is the same as 'g', except it always has a decimal and
634 * at least one digit after the decimal.
650 also with at least one character past the decimal. */ in _PyOS_ascii_formatd()
697 /* Get the current locale, and find the decimal point string. in _PyOS_ascii_formatd()
709 after the decimal point (and make sure we have a decimal point); in _PyOS_ascii_formatd()
773 /* The repr() precision (17 significant decimal digits) is the in PyOS_double_to_string()
790 1 byte for each digit of the decimal significand, and in PyOS_double_to_string()
793 1 for a possible decimal point in PyOS_double_to_string()
950 /* _Py_dg_dtoa returns a digit string (no decimal point or exponent). in format_float_short()
1026 decimal point that could appear either in <digits> or in the in format_float_short()
1039 position 'decpt' of the decimal point, and computes 'vdigits_start' in format_float_short()
1071 /* if using an exponent, reset decimal point position to 1 and adjust in format_float_short()
1089 /* decimal point should be in (vdigits_start, vdigits_end] */ in format_float_short()
1095 /* sign, decimal point and trailing 0 byte */ in format_float_short()
1121 so we include exactly one decimal point */ in format_float_short()
1135 /* Digits, with included decimal point */ in format_float_short()
1161 /* Delete a trailing decimal pt unless using alternative formatting. */ in format_float_short()