Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include reorder the fp_rnd constants to mat...



details:   https://anonhg.NetBSD.org/src/rev/f8b55f5cd82d
branches:  trunk
changeset: 474454:f8b55f5cd82d
user:      danw <danw%NetBSD.org@localhost>
date:      Wed Jul 07 01:52:26 1999 +0000

description:
reorder the fp_rnd constants to match the values used by the
powerpc fpu

diffstat:

 sys/arch/powerpc/include/ieeefp.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 10845b26a7e9 -r f8b55f5cd82d sys/arch/powerpc/include/ieeefp.h
--- a/sys/arch/powerpc/include/ieeefp.h Wed Jul 07 00:28:29 1999 +0000
+++ b/sys/arch/powerpc/include/ieeefp.h Wed Jul 07 01:52:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.1 1997/04/16 21:07:11 thorpej Exp $       */
+/*     $NetBSD: ieeefp.h,v 1.2 1999/07/07 01:52:26 danw Exp $  */
 
 /* 
  * Written by J.T. Conklin, Apr 6, 1995
@@ -18,8 +18,8 @@
 typedef enum {
     FP_RN=0,                   /* round to nearest representable number */
     FP_RZ=1,                   /* round to zero (truncate) */
-    FP_RM=2,                   /* round toward negative infinity */
-    FP_RP=3                    /* round toward positive infinity */
+    FP_RP=2,                   /* round toward positive infinity */
+    FP_RM=3                    /* round toward negative infinity */
 } fp_rnd;
 
 #endif /* _POWERPC_IEEEFP_H_ */



Home | Main Index | Thread Index | Old Index