We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c23542a + 465772e commit 8364b36Copy full SHA for 8364b36
scipy/special/cephes/dd_real.h
@@ -105,7 +105,8 @@ extern const double2 DD_C_LOG10;
105
extern const double2 DD_C_ZERO;
106
extern const double2 DD_C_ONE;
107
108
-#if defined(__STDC__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && defined(NAN)
+/* NAN definition in AIX's math.h doesn't make it qualify as constant literal. */
109
+#if defined(__STDC__) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && defined(NAN) && !defined(_AIX)
110
#define DD_C_NAN_IS_CONST
111
extern const double2 DD_C_NAN;
112
extern const double2 DD_C_INF;
0 commit comments