[Numpy-svn] r5848 - branches/clean_math_config/numpy/core/src
numpy-svn at scipy.org
numpy-svn at scipy.org
Sat Sep 20 12:10:57 EDT 2008
Author: cdavid
Date: 2008-09-20 11:10:53 -0500 (Sat, 20 Sep 2008)
New Revision: 5848
Modified:
branches/clean_math_config/numpy/core/src/math_c99.inc.src
Log:
Move isfinite macro with isinf and isnan.
Modified: branches/clean_math_config/numpy/core/src/math_c99.inc.src
===================================================================
--- branches/clean_math_config/numpy/core/src/math_c99.inc.src 2008-09-20 16:01:22 UTC (rev 5847)
+++ branches/clean_math_config/numpy/core/src/math_c99.inc.src 2008-09-20 16:10:53 UTC (rev 5848)
@@ -143,6 +143,11 @@
# define isinf(x) isnan((x) - (x))
#endif
+/* Define isfinie if needed */
+#if !defined(HAVE_DECL_ISFINITE)
+#define isfinite(x) (!(isinf((x)) || isnan((x))))
+#endif
+
#if !defined(HAVE_DECL_SIGNBIT)
#include "_signbit.c"
# define signbit(x) \
@@ -161,11 +166,6 @@
}
#endif
-/* Define isfinie if needed */
-#if !defined(HAVE_DECL_ISFINITE)
-#define isfinite(x) (!(isinf((x)) || isnan((x))))
-#endif
-
/*
* if C99 extensions not available then define dummy functions that use the
* double versions for
More information about the Numpy-svn
mailing list