Lines Matching full:format_code
738 char format_code, in PyOS_double_to_string() argument
749 /* Validate format_code, and map upper and lower case */ in PyOS_double_to_string()
750 switch (format_code) { in PyOS_double_to_string()
757 format_code = 'e'; in PyOS_double_to_string()
761 format_code = 'f'; in PyOS_double_to_string()
765 format_code = 'g'; in PyOS_double_to_string()
780 format_code = 'g'; in PyOS_double_to_string()
830 if (format_code == 'f' && fabs(val) >= 1.0) { in PyOS_double_to_string()
855 format_code = 'Z'; in PyOS_double_to_string()
859 format_code); in PyOS_double_to_string()
913 format_code is one of 'e', 'f', 'g', 'r'. 'e', 'f' and 'g'
916 format_code: 'e' and 'g' use mode 2; 'f' mode 3, 'r' mode 0.
937 format_float_short(double d, char format_code, in format_float_short() argument
1042 switch (format_code) { in format_float_short()
1186 char format_code, in PyOS_double_to_string() argument
1194 /* Validate format_code, and map upper and lower case. Compute the in PyOS_double_to_string()
1196 switch (format_code) { in PyOS_double_to_string()
1200 format_code = 'e'; in PyOS_double_to_string()
1210 format_code = 'f'; in PyOS_double_to_string()
1219 format_code = 'g'; in PyOS_double_to_string()
1243 return format_float_short(val, format_code, mode, precision, in PyOS_double_to_string()