mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Untabify Objects/longobject.c.
This commit is contained in:
parent
dc590a4cc3
commit
1dc3c898a8
1 changed files with 2 additions and 2 deletions
|
|
@ -2771,8 +2771,8 @@ PyLong_AsDouble(PyObject *v)
|
|||
}
|
||||
if (Py_ABS(Py_SIZE(v)) <= 1) {
|
||||
/* Fast path; single digit long (31 bits) will cast safely
|
||||
to double. This improves performance of FP/long operations
|
||||
by 20%.
|
||||
to double. This improves performance of FP/long operations
|
||||
by 20%.
|
||||
*/
|
||||
return (double)MEDIUM_VALUE((PyLongObject *)v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue