mirror of https://github.com/python/cpython
labs() takes a long for an input.
This commit is contained in:
parent
c9e928ae0f
commit
ffc667cbd5
|
@ -1158,7 +1158,7 @@ float_as_integer_ratio(PyObject *v, PyObject *unused)
|
|||
{
|
||||
double self;
|
||||
double float_part;
|
||||
int exponent;
|
||||
long exponent;
|
||||
|
||||
PyObject *prev;
|
||||
PyObject *py_exponent = NULL;
|
||||
|
|
Loading…
Reference in New Issue