Author: christian.heimes Date: Thu Feb 14 09:46:55 2008 New Revision: 60789 Modified: python/branches/trunk-math/Modules/cmathmodule.c Log: Fix NAN definition Modified: python/branches/trunk-math/Modules/cmathmodule.c ============================================================================== --- python/branches/trunk-math/Modules/cmathmodule.c (original) +++ python/branches/trunk-math/Modules/cmathmodule.c Thu Feb 14 09:46:55 2008 @@ -99,7 +99,7 @@ special value arrays need a constant we have to role our own infinity and nan. */ # define INF (DBL_MAX*DBL_MAX) -# define N (I*0.) +# define N (INF*0.) #else # define INF Py_HUGE_VAL # define N Py_NAN