From: matz@... (Yukihiro Matsumoto) Date: 2003-04-18T01:29:05+09:00 Subject: Re: Roundoff problem with Float and Marshal In message "Re: Roundoff problem with Float and Marshal" on 03/04/18, nobu.nokada@softhome.net writes: |> This is caused by bad implementation of strtod that Ruby 1.8 uses (in |> util.c). I will seek for the better one. | |Hmmm, it seems so. | |$ ruby -e 'p 3.7517675036461267e+17' |3.7517675036461261e+17 | | |Index: util.c |=================================================================== |RCS file: /pub/cvs/ruby/src/ruby/util.c,v |retrieving revision 1.32 |diff -u -2 -p -w -r1.32 util.c |--- util.c 16 Jan 2003 07:34:03 -0000 1.32 |+++ util.c 17 Apr 2003 16:10:57 -0000 Wow, you're so fast. Please commit this fix. matz.