Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Correct values for different rounding modes.
details: https://anonhg.NetBSD.org/src/rev/4d350df77971
branches: trunk
changeset: 515289:4d350df77971
user: eeh <eeh%NetBSD.org@localhost>
date: Fri Sep 21 20:32:32 2001 +0000
description:
Correct values for different rounding modes.
diffstat:
sys/arch/sparc/include/ieeefp.h | 6 +++---
sys/arch/sparc64/include/ieeefp.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r 4d641f0c6493 -r 4d350df77971 sys/arch/sparc/include/ieeefp.h
--- a/sys/arch/sparc/include/ieeefp.h Fri Sep 21 20:10:27 2001 +0000
+++ b/sys/arch/sparc/include/ieeefp.h Fri Sep 21 20:32:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieeefp.h,v 1.3 1998/01/05 07:03:21 perry Exp $ */
+/* $NetBSD: ieeefp.h,v 1.4 2001/09/21 20:32:33 eeh 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 /* _SPARC_IEEEFP_H_ */
diff -r 4d641f0c6493 -r 4d350df77971 sys/arch/sparc64/include/ieeefp.h
--- a/sys/arch/sparc64/include/ieeefp.h Fri Sep 21 20:10:27 2001 +0000
+++ b/sys/arch/sparc64/include/ieeefp.h Fri Sep 21 20:32:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieeefp.h,v 1.2 1999/02/15 04:54:34 hubertf Exp $ */
+/* $NetBSD: ieeefp.h,v 1.3 2001/09/21 20:32:32 eeh Exp $ */
/*
* Written by J.T. Conklin, Apr 6, 1995
* Public domain.
@@ -17,8 +17,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 /* _SPARC_IEEEFP_H_ */
Home |
Main Index |
Thread Index |
Old Index