From: Benjamin Peterson Date: Sat, 3 Dec 2016 20:32:38 +0000 (-0800) Subject: inline constant into its single use X-Git-Tag: v2.7.13rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5726b6316b472190db22abd346ba255445c57486;p=thirdparty%2FPython%2Fcpython.git inline constant into its single use --- diff --git a/Modules/_math.c b/Modules/_math.c index fe75a36ec517..d314887fa0b7 100644 --- a/Modules/_math.c +++ b/Modules/_math.c @@ -22,7 +22,6 @@ static const double ln2 = 6.93147180559945286227E-01; static const double two_pow_m28 = 3.7252902984619141E-09; /* 2**-28 */ static const double two_pow_p28 = 268435456.0; /* 2**28 */ -static const double zero = 0.0; /* acosh(x) * Method : @@ -143,7 +142,7 @@ _Py_atanh(double x) #ifdef Py_NAN return Py_NAN; #else - return x/zero; + return x/0.0; #endif } if (absx < two_pow_m28) { /* |x| < 2**-28 */