summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2006-09-01 22:19:57 +0000
committermarcel <marcel@FreeBSD.org>2006-09-01 22:19:57 +0000
commit7dffde3aeb1790d33da879262d18f6be3029a6e8 (patch)
tree0d07a1acdd4888cf58bd4d9a9d2f80d0337f204c /sys/ia64
parentb96ac0af1da0f31d93791e485b95dfcbf60deb48 (diff)
downloadFreeBSD-src-7dffde3aeb1790d33da879262d18f6be3029a6e8.zip
FreeBSD-src-7dffde3aeb1790d33da879262d18f6be3029a6e8.tar.gz
MFC rev 1.5: Fixed FP_R*.
Original fix: bde@
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/ieeefp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ia64/include/ieeefp.h b/sys/ia64/include/ieeefp.h
index a97926b..3b0cd4b 100644
--- a/sys/ia64/include/ieeefp.h
+++ b/sys/ia64/include/ieeefp.h
@@ -39,10 +39,10 @@ typedef int fp_except_t;
#define FP_X_IMP IA64_FPSR_TRAP_ID /* imprecise(inexact) exception */
typedef enum {
- FP_RZ=0, /* round to zero (truncate) */
- FP_RM=1, /* round toward negative infinity */
- FP_RN=2, /* round to nearest representable number */
- FP_RP=3 /* round toward positive infinity */
+ FP_RN = 0, /* round to nearest */
+ FP_RM, /* round toward minus infinity */
+ FP_RP, /* round toward plus infinity */
+ FP_RZ /* round toward zero */
} fp_rnd_t;
-#endif /* _MACHINE_IEEEFP_H_ */
+#endif /* !_MACHINE_IEEEFP_H_ */
OpenPOWER on IntegriCloud