only define zero constant when it is used

This commit is contained in:
Benjamin Peterson 2014-03-15 11:50:00 -05:00
parent ce68c19ee7
commit c77e7a4f23
1 changed files with 2 additions and 0 deletions

View File

@ -22,7 +22,9 @@
static const double ln2 = 6.93147180559945286227E-01; static const double ln2 = 6.93147180559945286227E-01;
static const double two_pow_m28 = 3.7252902984619141E-09; /* 2**-28 */ static const double two_pow_m28 = 3.7252902984619141E-09; /* 2**-28 */
static const double two_pow_p28 = 268435456.0; /* 2**28 */ static const double two_pow_p28 = 268435456.0; /* 2**28 */
#ifndef Py_NAN
static const double zero = 0.0; static const double zero = 0.0;
#endif
/* acosh(x) /* acosh(x)
* Method : * Method :