1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2003-04-21 13:02:08 +00:00
parent 71e0bb92d1
commit 3939629ddf
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Apr 21 21:59:48 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* marshal.c: one more digit for decimal point. [ruby-talk:69808]
Mon Apr 21 21:25:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> Mon Apr 21 21:25:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* numeric.c (flo_is_finite_p): use finite() if available. * numeric.c (flo_is_finite_p): use finite() if available.

View file

@ -222,7 +222,7 @@ load_mantissa(d, buf, len)
#endif #endif
#ifdef DBL_DIG #ifdef DBL_DIG
#define FLOAT_DIG (DBL_DIG+1) #define FLOAT_DIG (DBL_DIG+2)
#else #else
#define FLOAT_DIG 17 #define FLOAT_DIG 17
#endif #endif