ruby-changes:11344
From: nobu <ko1@a...>
Date: Sun, 15 Mar 2009 04:24:32 +0900 (JST)
Subject: [ruby-changes:11344] Ruby:r22962 (trunk): * test/ruby/test_float.rb (TestFloat#test_to_s): precision was
nobu 2009-03-15 04:24:27 +0900 (Sun, 15 Mar 2009) New Revision: 22962 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22962 Log: * test/ruby/test_float.rb (TestFloat#test_to_s): precision was increased. Modified files: trunk/test/ruby/test_float.rb Index: test/ruby/test_float.rb =================================================================== --- test/ruby/test_float.rb (revision 22961) +++ test/ruby/test_float.rb (revision 22962) @@ -123,7 +123,7 @@ assert_equal("-Infinity", (-inf).to_s) assert_equal("NaN", (inf / inf).to_s) - assert_equal("1.0e+14", 10000_00000_00000.0.to_s) + assert_equal("1.0e+18", 1000_00000_00000_00000.0.to_s) end def test_coerce -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/