diff options
author | das <das@FreeBSD.org> | 2011-01-09 06:05:02 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2011-01-09 06:05:02 +0000 |
commit | 404cc619266d172f9b7790695ed5085cfc7d9d43 (patch) | |
tree | 680840f217effd872e161bcaf929402fcefa4ad3 | |
parent | 2ff68e86300d6689a5d22966e863818b43f9279b (diff) | |
download | FreeBSD-src-404cc619266d172f9b7790695ed5085cfc7d9d43.zip FreeBSD-src-404cc619266d172f9b7790695ed5085cfc7d9d43.tar.gz |
The highest-precision floating point type on ia64 has 64 bits of
precision, so DECIMAL_DIG should be 21, as on i386/amd64.
-rw-r--r-- | sys/ia64/include/float.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/float.h b/sys/ia64/include/float.h index 6f7baa2..2ae58a9 100644 --- a/sys/ia64/include/float.h +++ b/sys/ia64/include/float.h @@ -43,7 +43,7 @@ __END_DECLS #define FLT_ROUNDS __flt_rounds() #if __ISO_C_VISIBLE >= 1999 #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 #define FLT_MANT_DIG 24 /* p */ |