Untabify Objects/longobject.c.

This commit is contained in:
Mark Dickinson 2016-08-21 10:33:36 +01:00
parent dc590a4cc3
commit 1dc3c898a8
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }