diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-05-09 17:54:23 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-05-09 17:54:23 (GMT) |
commit | f8476c15730939c4ee64d94f08c2d6e40b09195d (patch) | |
tree | 4b2107074cba7baf8bec2ceff3a049dcf2698f9b /Misc | |
parent | 8bd5334a9e192bcd1c182574d585179bc9d8be2d (diff) | |
download | cpython-f8476c15730939c4ee64d94f08c2d6e40b09195d.zip cpython-f8476c15730939c4ee64d94f08c2d6e40b09195d.tar.gz cpython-f8476c15730939c4ee64d94f08c2d6e40b09195d.tar.bz2 |
Issue #2487. math.ldexp(x, n) raised OverflowError when n was large and
negative; fix to return an (appropriately signed) zero instead.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ Extension Modules Library ------- +- Issue #2487: change the semantics of math.ldexp(x, n) when n is too + large to fit in a C long. ldexp(x, n) now returns a zero (with + suitable sign) if n is large and negative; previously, it raised + OverflowError. + - The toaiff module has been deprecated for removal in Python 3.0. - The test.testall module has been deprecated for removal in Python 3.0. |