From: Benjamin Peterson Date: Sat, 15 Mar 2014 16:50:00 +0000 (-0500) Subject: only define zero constant when it is used X-Git-Tag: v3.4.1rc1~233^2~12^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c77e7a4f233453a4e39fc7f61c72e6ef3877dcd1;p=python only define zero constant when it is used --- diff --git a/Modules/_math.c b/Modules/_math.c index fe75a36ec5..a14ff0605f 100644 --- a/Modules/_math.c +++ b/Modules/_math.c @@ -22,7 +22,9 @@ 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 */ +#ifndef Py_NAN static const double zero = 0.0; +#endif /* acosh(x) * Method :