diff options
author | Raymond Hettinger <python@rcn.com> | 2008-02-01 22:22:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-02-01 22:22:50 (GMT) |
commit | ffc667cbd57151705f5a69139351b7c14b24653d (patch) | |
tree | 5fa7ff3ed8c034a6d149936ba926eaa4ed89b306 /Objects | |
parent | c9e928ae0fbb56aed59d370c558697d996b670bf (diff) | |
download | cpython-ffc667cbd57151705f5a69139351b7c14b24653d.zip cpython-ffc667cbd57151705f5a69139351b7c14b24653d.tar.gz cpython-ffc667cbd57151705f5a69139351b7c14b24653d.tar.bz2 |
labs() takes a long for an input.
Diffstat (limited to 'Objects')
-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 ce6926b..8c7a9a3 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; |