commit | ffc667cbd57151705f5a69139351b7c14b24653d | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Feb 01 22:22:50 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Fri Feb 01 22:22:50 2008 +0000 |
tree | 5fa7ff3ed8c034a6d149936ba926eaa4ed89b306 | |
parent | c9e928ae0fbb56aed59d370c558697d996b670bf [diff] [blame] |
labs() takes a long for an input.
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 @@ { double self; double float_part; - int exponent; + long exponent; PyObject *prev; PyObject *py_exponent = NULL;