Module Name:    src
Committed By:   christos
Date:           Tue Dec 22 05:28:47 UTC 2015

Modified Files:
        src/sys/arch/powerpc/include: ieeefp.h

Log Message:
remove dup definitions from fenv.h


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/include/ieeefp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/ieeefp.h
diff -u src/sys/arch/powerpc/include/ieeefp.h:1.3 src/sys/arch/powerpc/include/ieeefp.h:1.4
--- src/sys/arch/powerpc/include/ieeefp.h:1.3	Tue Aug  5 12:47:42 2008
+++ src/sys/arch/powerpc/include/ieeefp.h	Tue Dec 22 00:28:46 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ieeefp.h,v 1.3 2008/08/05 16:47:42 matt Exp $	*/
+/*	$NetBSD: ieeefp.h,v 1.4 2015/12/22 05:28:46 christos Exp $	*/
 
 /* 
  * Written by J.T. Conklin, Apr 6, 1995
@@ -10,23 +10,9 @@
 
 #include <sys/featuretest.h>
 
-#if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
-
-typedef int fenv_t;
-typedef int fexcept_t;
+#include <powerpc/fenv.h>
 
-#define	FE_INEXACT	0x01	/* imprecise (loss of precision) */
-#define	FE_DIVBYZERO	0x02	/* divide-by-zero exception */
-#define	FE_OVERFLOW	0x04	/* underflow exception */
-#define	FE_UNDERFLOW	0x08	/* overflow exception */
-#define	FE_INVALID	0x10	/* invalid operation exception */
-
-#define	FE_ALL_EXCEPT	0x1f
-
-#define	FE_TONEAREST	0	/* round to nearest representable number */
-#define	FE_TOWARDZERO	1	/* round to zero (truncate) */
-#define	FE_UPWARD	2	/* round toward positive infinity */
-#define	FE_DOWNWARD	3	/* round toward negative infinity */
+#if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
 
 #if !defined(_ISOC99_SOURCE)
 

Reply via email to