summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/float.h
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-01-09 06:05:02 +0000
committerdas <das@FreeBSD.org>2011-01-09 06:05:02 +0000
commit404cc619266d172f9b7790695ed5085cfc7d9d43 (patch)
tree680840f217effd872e161bcaf929402fcefa4ad3 /sys/ia64/include/float.h
parent2ff68e86300d6689a5d22966e863818b43f9279b (diff)
downloadFreeBSD-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.
Diffstat (limited to 'sys/ia64/include/float.h')
-rw-r--r--sys/ia64/include/float.h2
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 */
OpenPOWER on IntegriCloud