Commit 1dc3c898 authored by Mark Dickinson's avatar Mark Dickinson

Untabify Objects/longobject.c.

parent dc590a4c
...@@ -2771,8 +2771,8 @@ PyLong_AsDouble(PyObject *v) ...@@ -2771,8 +2771,8 @@ PyLong_AsDouble(PyObject *v)
} }
if (Py_ABS(Py_SIZE(v)) <= 1) { if (Py_ABS(Py_SIZE(v)) <= 1) {
/* Fast path; single digit long (31 bits) will cast safely /* Fast path; single digit long (31 bits) will cast safely
to double. This improves performance of FP/long operations to double. This improves performance of FP/long operations
by 20%. by 20%.
*/ */
return (double)MEDIUM_VALUE((PyLongObject *)v); return (double)MEDIUM_VALUE((PyLongObject *)v);
} }
......
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