The highest-precision floating point type on ia64 has 64 bits of

precision, so DECIMAL_DIG should be 21, as on i386/amd64.
This commit is contained in:
David Schultz 2011-01-09 06:05:02 +00:00
parent 27772ddf45
commit 9719c5a6ab

View File

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