summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-05-03 16:53:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-05-03 16:53:25 +0000
commit186038428b2c97cc36eab9502c797e168096498e (patch)
treef337fd25ae87f0643b45eb0d4dd1fc4362165b9e /sys
parentd907b819f70da1dd52effec1d581a95e446ad108 (diff)
Sync with NetBSD, Fixes a problem identified with regress/.../ieeefp/round.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/ieeefp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/ieeefp.h b/sys/arch/powerpc/include/ieeefp.h
index 8bd392245f1..622f4d82503 100644
--- a/sys/arch/powerpc/include/ieeefp.h
+++ b/sys/arch/powerpc/include/ieeefp.h
@@ -1,4 +1,5 @@
-/* $OpenBSD: ieeefp.h,v 1.6 2002/09/15 09:01:59 deraadt Exp $ */
+/* $OpenBSD: ieeefp.h,v 1.7 2004/05/03 16:53:24 drahn Exp $ */
+/* $NetBSD: ieeefp.h,v 1.2 1999/07/07 01:52:26 danw Exp $ */
/*
* Written by J.T. Conklin, Apr 6, 1995
* Public domain.
@@ -17,8 +18,8 @@ typedef int fp_except;
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_ */