summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-21 13:02:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-21 13:02:08 +0000
commit3939629ddf939e62a5811ffa1f067f0efbc961a6 (patch)
tree6b29e870d917b9d48d71db013ddf1d43a214984f /marshal.c
parent71e0bb92d13af4f8aabb79689a3a7edb81b6680a (diff)
* marshal.c: one more digit for decimal point. [ruby-talk:69808]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index b6d5c07a23..68a516495f 100644
--- a/marshal.c
+++ b/marshal.c
@@ -222,7 +222,7 @@ load_mantissa(d, buf, len)
#endif
#ifdef DBL_DIG
-#define FLOAT_DIG (DBL_DIG+1)
+#define FLOAT_DIG (DBL_DIG+2)
#else
#define FLOAT_DIG 17
#endif