View | Details | Raw Unified
Collapse All | Expand All

(-) numpy-1.0.4.old/numpy/core/include/numpy/ufuncobject.h (-3 / +3 lines)
 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(__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(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__)
#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 / +3 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(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__)
#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(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
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(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
static int 
static int 
NA_checkFPErrors(void)
NA_checkFPErrors(void)