diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-12-03 12:32:38 -0800 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-12-03 12:32:38 -0800 |
commit | 7060de6b98f2b81dfca97f522d4177a12d56b008 (patch) | |
tree | 16c47b64a307663cf2716a526f41601334eae606 | |
parent | 56bef0596be4586c99827a79fab78f0bfda78c60 (diff) | |
download | cpython-7060de6b98f2b81dfca97f522d4177a12d56b008.tar.gz |
inline constant into its single use
-rw-r--r-- | Modules/_math.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_math.c b/Modules/_math.c index fe75a36ec5..d314887fa0 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 */ |