Commit f719733b authored by Mark Dickinson's avatar Mark Dickinson

Revert temporary debugging commits (r82752, r82754).

parent 29241eed
...@@ -1001,17 +1001,9 @@ format_float_short(double d, char format_code, ...@@ -1001,17 +1001,9 @@ format_float_short(double d, char format_code,
else { else {
/* shouldn't get here: Gay's code should always return /* shouldn't get here: Gay's code should always return
something starting with a digit, an 'I', or 'N' */ something starting with a digit, an 'I', or 'N' */
printf("Unexpected failure in format_float_short. " strncpy(p, "ERR", 3);
"Arguments: d = %.17g, format_code = %d, " p += 3;
"mode = %d, precision = %ld\n", assert(0);
d, format_code, mode, precision);
printf("digits == %.100s\n", digits);
PyErr_Format(PyExc_RuntimeError,
"Unexpected failure in format_float_short. "
"Arguments: d = %.17g, format_code = %d, "
"mode = %d, precision = %ld\n",
d, format_code, mode, precision);
return NULL;
} }
goto exit; goto exit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment