View | Details | Raw Unified
Collapse All | Expand All

(-) numpy-1.0.4.old/numpy/core/include/numpy/ufuncobject.h (-3 / +7 lines)
 Lines 223-228    Link Here 
/* This code checks the IEEE status flags in a platform-dependent way */
/* This code checks the IEEE status flags in a platform-dependent way */
/* Adapted from Numarray  */
/* Adapted from Numarray  */
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>
#endif
/*  OSF/Alpha (Tru64)  ---------------------------------------------*/
/*  OSF/Alpha (Tru64)  ---------------------------------------------*/
#if defined(__osf__) && defined(__alpha)
#if defined(__osf__) && defined(__alpha)
 Lines 267-273    Link Here 
/* Solaris --------------------------------------------------------*/
/* Solaris --------------------------------------------------------*/
/* --------ignoring SunOS ieee_flags approach, someone else can
/* --------ignoring SunOS ieee_flags approach, someone else can
**         deal with that! */
**         deal with that! */
#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || (defined(__FreeBSD__) && (__FreeBSD_version < 502114)) || defined(__NetBSD__)
#include <ieeefp.h>
#include <ieeefp.h>
#define UFUNC_CHECK_STATUS(ret) {				\
#define UFUNC_CHECK_STATUS(ret) {				\
 Lines 281-289    Link Here 
	(void) fpsetsticky(0);						\
	(void) fpsetsticky(0);						\
	}
	}
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || defined(__FreeBSD__)
#include <fenv.h>
#include <fenv.h>
#elif defined(__CYGWIN__)
#elif defined(__CYGWIN__)
#include "fenv/fenv.c"
#include "fenv/fenv.c"
(-) numpy-1.0.4.old/numpy/numarray/_capi.c (-3 / +7 lines)
 Lines 4-10    Link Here 
#include "numpy/libnumarray.h"
#include "numpy/libnumarray.h"
#include <float.h>
#include <float.h>
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>
#endif
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
#include <fenv.h>
#include <fenv.h>
#elif defined(__CYGWIN__)
#elif defined(__CYGWIN__)
#include "numpy/fenv/fenv.h"
#include "numpy/fenv/fenv.h"
 Lines 231-237    Link Here 
}
}
/* Likewise for Integer overflows */
/* Likewise for Integer overflows */
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
static int int_overflow_error(Float64 value) { /* For x86_64 */
static int int_overflow_error(Float64 value) { /* For x86_64 */
	feraiseexcept(FE_OVERFLOW);
	feraiseexcept(FE_OVERFLOW);
	return (int) value;
	return (int) value;
 Lines 2939-2945    Link Here 
	return retstatus;
	return retstatus;
}
}
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) || (defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
static int 
static int 
NA_checkFPErrors(void)
NA_checkFPErrors(void)