Correct values for different rounding modes.
This commit is contained in:
parent
e75d19a14b
commit
f8e6b3bc07
|
@ -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 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_ */
|
||||
|
|
|
@ -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 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_ */
|
||||
|
|
Loading…
Reference in New Issue