Fix the value for DECIMAL_DIG on UltraSparcs. The previous value of

35 wasn't quite big enough to ensure correct rounding for very-close-
to-halfway cases.
This commit is contained in:
David Schultz 2011-01-09 06:05:48 +00:00
parent fb7daace8b
commit 633bd99821
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ __END_DECLS
#define FLT_ROUNDS __flt_rounds()
#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 0 /* no promotion */
#define DECIMAL_DIG 35 /* max precision in decimal digits */
#define DECIMAL_DIG 36 /* max precision in decimal digits */
#endif
#define FLT_MANT_DIG 24 /* p */

View File

@ -48,7 +48,7 @@ __END_DECLS
#define FLT_ROUNDS __flt_rounds()
#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 0 /* no promotion */
#define DECIMAL_DIG 35 /* max precision in decimal digits */
#define DECIMAL_DIG 36 /* max precision in decimal digits */
#endif
#define FLT_MANT_DIG 24 /* p */