[Numpy-svn] r5845 - branches/clean_math_config/numpy/core/include/numpy
numpy-svn at scipy.org
numpy-svn at scipy.org
Sat Sep 20 11:58:48 EDT 2008
Author: cdavid
Date: 2008-09-20 10:58:44 -0500 (Sat, 20 Sep 2008)
New Revision: 5845
Modified:
branches/clean_math_config/numpy/core/include/numpy/ufuncobject.h
Log:
Remove redundant definition of isnan and co in ufuncobject.h
Modified: branches/clean_math_config/numpy/core/include/numpy/ufuncobject.h
===================================================================
--- branches/clean_math_config/numpy/core/include/numpy/ufuncobject.h 2008-09-20 11:39:20 UTC (rev 5844)
+++ branches/clean_math_config/numpy/core/include/numpy/ufuncobject.h 2008-09-20 15:58:44 UTC (rev 5845)
@@ -263,11 +263,6 @@
| ((SW_INVALID & fpstatus) ? UFUNC_FPE_INVALID : 0); \
}
-#define isnan(x) (_isnan((double)(x)))
-#define isinf(x) ((_fpclass((double)(x)) == _FPCLASS_PINF) || \
- (_fpclass((double)(x)) == _FPCLASS_NINF))
-#define isfinite(x) (_finite((double) x))
-
/* Solaris --------------------------------------------------------*/
/* --------ignoring SunOS ieee_flags approach, someone else can
** deal with that! */
More information about the Numpy-svn
mailing list