Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 199825 | Differences between
and this patch

Collapse All | Expand All

(-)numpy-1.0.4.old/numpy/core/include/numpy/ufuncobject.h (-3 / +3 lines)
Lines 267-273 Link Here
267
/* Solaris --------------------------------------------------------*/
267
/* Solaris --------------------------------------------------------*/
268
/* --------ignoring SunOS ieee_flags approach, someone else can
268
/* --------ignoring SunOS ieee_flags approach, someone else can
269
**         deal with that! */
269
**         deal with that! */
270
#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
270
#elif defined(sun) || defined(__BSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
271
#include <ieeefp.h>
271
#include <ieeefp.h>
272
272
273
#define UFUNC_CHECK_STATUS(ret) {				\
273
#define UFUNC_CHECK_STATUS(ret) {				\
Lines 281-289 Link Here
281
	(void) fpsetsticky(0);						\
281
	(void) fpsetsticky(0);						\
282
	}
282
	}
283
283
284
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
284
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
285
285
286
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
286
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__)
287
#include <fenv.h>
287
#include <fenv.h>
288
#elif defined(__CYGWIN__)
288
#elif defined(__CYGWIN__)
289
#include "fenv/fenv.c"
289
#include "fenv/fenv.c"
(-)numpy-1.0.4.old/numpy/numarray/_capi.c (-3 / +3 lines)
Lines 4-10 Link Here
4
#include "numpy/libnumarray.h"
4
#include "numpy/libnumarray.h"
5
#include <float.h>
5
#include <float.h>
6
6
7
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__MINGW32__)
7
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__MINGW32__)
8
#include <fenv.h>
8
#include <fenv.h>
9
#elif defined(__CYGWIN__)
9
#elif defined(__CYGWIN__)
10
#include "numpy/fenv/fenv.h"
10
#include "numpy/fenv/fenv.h"
Lines 231-237 Link Here
231
}
231
}
232
232
233
/* Likewise for Integer overflows */
233
/* Likewise for Integer overflows */
234
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
234
#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
235
static int int_overflow_error(Float64 value) { /* For x86_64 */
235
static int int_overflow_error(Float64 value) { /* For x86_64 */
236
	feraiseexcept(FE_OVERFLOW);
236
	feraiseexcept(FE_OVERFLOW);
237
	return (int) value;
237
	return (int) value;
Lines 2939-2945 Link Here
2939
	return retstatus;
2939
	return retstatus;
2940
}
2940
}
2941
2941
2942
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__)
2942
#elif defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__MINGW32__)
2943
2943
2944
static int 
2944
static int 
2945
NA_checkFPErrors(void)
2945
NA_checkFPErrors(void)

Return to bug 199825