Issues #3167, #3682: tests for math.log and math.log10 were failing on
commit1e6be789fa38009eee479d5b3af291fb86a5a9d1
authormark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 11 Dec 2008 19:28:08 +0000 (11 19:28 +0000)
committermark.dickinson <mark.dickinson@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 11 Dec 2008 19:28:08 +0000 (11 19:28 +0000)
tree57a47a6b9318454e621de4e4e093a96c00fedf66
parent2350c7d9dd59087f60bd871240c1e84c7f08b45b
Issues #3167, #3682: tests for math.log and math.log10 were failing on
Solaris and OpenBSD.  Fix this by handling special values and domain
errors directly in mathmodule.c, passing only positive nonspecial floats
to the system log/log10.

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