Browse Source

only define zero constant when it is used

pull/2332/head
Benjamin Peterson 12 years ago
parent
commit
c77e7a4f23
  1. 2
      Modules/_math.c

2
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 :

Loading…
Cancel
Save