diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-01 22:22:50 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-01 22:22:50 +0000 |
commit | ffc667cbd57151705f5a69139351b7c14b24653d (patch) | |
tree | 5fa7ff3ed8c034a6d149936ba926eaa4ed89b306 /Objects/floatobject.c | |
parent | c9e928ae0fbb56aed59d370c558697d996b670bf (diff) | |
download | cpython-git-ffc667cbd57151705f5a69139351b7c14b24653d.tar.gz |
labs() takes a long for an input.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index ce6926bf6d..8c7a9a3b57 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -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; |