summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2011-01-09 06:05:22 +0000
committerdas <das@FreeBSD.org>2011-01-09 06:05:22 +0000
commitb0da71a6821160286cc345eb1cd1be01fbb44bbe (patch)
treeb1312a7a616b2aef8a927be8b0766ebe2167dafa
parent404cc619266d172f9b7790695ed5085cfc7d9d43 (diff)
downloadFreeBSD-src-b0da71a6821160286cc345eb1cd1be01fbb44bbe.zip
FreeBSD-src-b0da71a6821160286cc345eb1cd1be01fbb44bbe.tar.gz
We don't support any floating point types larger than double on
powerpc, so DECIMAL_DIG should be 17.
-rw-r--r--sys/powerpc/include/float.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h
index 369d0a0..ca6568f 100644
--- a/sys/powerpc/include/float.h
+++ b/sys/powerpc/include/float.h
@@ -48,7 +48,7 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#if __ISO_C_VISIBLE >= 1999
#define FLT_EVAL_METHOD 1 /* operands promoted to double */
-#define DECIMAL_DIG 35 /* max precision in decimal digits */
+#define DECIMAL_DIG 17 /* max precision in decimal digits */
#endif
#define FLT_MANT_DIG 24 /* p */
OpenPOWER on IntegriCloud