diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-28 15:18:16 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-28 15:18:16 +0000 |
commit | 0810f0de36435b98b52d21122b66ed52eea8705d (patch) | |
tree | b9fa0bfef1030fe894463949a5b0f942b670a82d /sys/arch/sparc | |
parent | 88bacd9534115eb3b437910045f06b18de993dd5 (diff) |
proper values for ieee rounding modes (from NetBSD)
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/include/ieeefp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/include/ieeefp.h b/sys/arch/sparc/include/ieeefp.h index eabf383ec9d..c3fd819eb2f 100644 --- a/sys/arch/sparc/include/ieeefp.h +++ b/sys/arch/sparc/include/ieeefp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieeefp.h,v 1.3 1997/08/08 08:26:25 downsj Exp $ */ +/* $OpenBSD: ieeefp.h,v 1.4 2001/09/28 15:18:15 jason Exp $ */ /* * Written by J.T. Conklin, Apr 6, 1995 @@ -18,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 /* _SPARC_IEEEFP_H_ */ |