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 Use unsigned int instead of int fo the...



details:   https://anonhg.NetBSD.org/src/rev/fa29e91efbe0
branches:  trunk
changeset: 778217:fa29e91efbe0
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Mar 19 22:24:07 2012 +0000

description:
Use unsigned int instead of int fo the fp* typedefs.

diffstat:

 sys/arch/mips/include/ieeefp.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r cb24fa34fb66 -r fa29e91efbe0 sys/arch/mips/include/ieeefp.h
--- a/sys/arch/mips/include/ieeefp.h    Mon Mar 19 22:23:10 2012 +0000
+++ b/sys/arch/mips/include/ieeefp.h    Mon Mar 19 22:24:07 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.6 2011/01/27 13:42:09 tsutsui Exp $       */
+/*     $NetBSD: ieeefp.h,v 1.7 2012/03/19 22:24:07 matt Exp $  */
 
 /*
  * Written by J.T. Conklin, Apr 11, 1995
@@ -12,8 +12,8 @@
 
 #if defined(_NETBSD_SOURCE) || defined(_ISOC99_SOURCE)
 
-typedef int fenv_t;
-typedef int fexcept_t;
+typedef unsigned int fenv_t;
+typedef unsigned int fexcept_t;
 
 #define        FE_INEXACT      0x01    /* imprecise (loss of precision) */
 #define        FE_UNDERFLOW    0x02    /* underflow exception */
@@ -30,7 +30,7 @@
 
 #if !defined(_ISOC99_SOURCE)
 
-typedef int fp_except;
+typedef unsigned int fp_except;
 #define FP_X_IMP       FE_INEXACT      /* imprecise (loss of precision) */
 #define FP_X_UFL       FE_UNDERFLOW    /* underflow exception */
 #define FP_X_OFL       FE_OVERFLOW     /* overflow exception */



Home | Main Index | Thread Index | Old Index