Skip to content

Commit 6d8c5a1

Browse files
author
raymond.hettinger
committed
labs() takes a long for an input.
git-svn-id: http://svn.python.org/projects/python/trunk@60513 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4f5179f commit 6d8c5a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/floatobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ float_as_integer_ratio(PyObject *v, PyObject *unused)
11581158
{
11591159
double self;
11601160
double float_part;
1161-
int exponent;
1161+
long exponent;
11621162

11631163
PyObject *prev;
11641164
PyObject *py_exponent = NULL;

0 commit comments

Comments
 (0)