Issue #2487. math.ldexp(x, n) raised OverflowError when n was large and
commitbba6a3849d049f14a204a06a69b223fe068ea194
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 9 May 2008 17:54:23 +0000 (9 17:54 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 9 May 2008 17:54:23 +0000 (9 17:54 +0000)
tree2b78d1ff972902f686e71282bb37b7c96b1f7be1
parenta1dc8b871d7596f6e53d4f8e538c7296afa229c0
Issue #2487.  math.ldexp(x, n) raised OverflowError when n was large and
negative; fix to return an (appropriately signed) zero instead.

git-svn-id: http://svn.python.org/projects/python/trunk@62948 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/test/test_math.py
Misc/NEWS
Modules/mathmodule.c