From 3939629ddf939e62a5811ffa1f067f0efbc961a6 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 21 Apr 2003 13:02:08 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ marshal.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b3b8ed562d..bd9a55644a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 21 21:59:48 2003 Nobuyoshi Nakada + + * marshal.c: one more digit for decimal point. [ruby-talk:69808] + Mon Apr 21 21:25:59 2003 Nobuyoshi Nakada * numeric.c (flo_is_finite_p): use finite() if available. 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