Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include remove dup fenv



details:   https://anonhg.NetBSD.org/src/rev/684b27941991
branches:  trunk
changeset: 342499:684b27941991
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 25 06:01:38 2015 +0000

description:
remove dup fenv

diffstat:

 sys/arch/mips/include/ieeefp.h |  18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diffs (32 lines):

diff -r 9a0d4e7c8a2b -r 684b27941991 sys/arch/mips/include/ieeefp.h
--- a/sys/arch/mips/include/ieeefp.h    Fri Dec 25 05:45:40 2015 +0000
+++ b/sys/arch/mips/include/ieeefp.h    Fri Dec 25 06:01:38 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.7 2012/03/19 22:24:07 matt Exp $  */
+/*     $NetBSD: ieeefp.h,v 1.8 2015/12/25 06:01:38 christos Exp $      */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -12,21 +12,7 @@
 
 #if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
 
-typedef unsigned int fenv_t;
-typedef unsigned int fexcept_t;
-
-#define        FE_INEXACT      0x01    /* imprecise (loss of precision) */
-#define        FE_UNDERFLOW    0x02    /* underflow exception */
-#define        FE_OVERFLOW     0x04    /* overflow exception */
-#define        FE_DIVBYZERO    0x08    /* divide-by-zero 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 */
+#include <mips/fenv.h>
 
 #if !defined(_ISOC99_SOURCE)
 



Home | Main Index | Thread Index | Old Index