diff options
author | David Schultz <das@FreeBSD.org> | 2011-01-09 06:05:48 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2011-01-09 06:05:48 +0000 |
commit | 633bd99821c82f47c2869c89b66210d7c1cf37b8 (patch) | |
tree | 2f848af433684dd2934d34fea685bab614fce70f /sys/sparc64/include/float.h | |
parent | fb7daace8b1c20e5421da3f529abddcc4f96959e (diff) | |
download | src-633bd99821c82f47c2869c89b66210d7c1cf37b8.tar.gz src-633bd99821c82f47c2869c89b66210d7c1cf37b8.zip |
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.
Notes
Notes:
svn path=/head/; revision=217182
Diffstat (limited to 'sys/sparc64/include/float.h')
-rw-r--r-- | sys/sparc64/include/float.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/float.h b/sys/sparc64/include/float.h index cf78df0c6b55..de1d7feacede 100644 --- a/sys/sparc64/include/float.h +++ b/sys/sparc64/include/float.h @@ -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 */ |