From: Brian Ford Date: 2009-03-31T14:21:15+09:00 Subject: [ruby-core:23075] [Bug #1336] Change in string representation of Floats Bug #1336: Change in string representation of Floats http://redmine.ruby-lang.org/issues/show/1336 Author: Brian Ford Status: Open, Priority: Normal Category: core, Target version: 1.9.x ruby -v: ruby 1.9.2dev (2009-03-30 trunk 23098) [i386-darwin9.6.0] Did the displayed formats of Floats change in 1.9? There was a thread [ruby-core:22595] on the ML about the format of Floats and marshaling, but there does not appear to be any indication that the normal display format would change. Also, I did not see any mention of a change of format in the Changelog. gauss:mspec brian$ ~/devel/ruby19/install/bin/ruby19 -v -e 'p 5.51' ruby 1.9.2dev (2009-02-12 trunk 22247) [i386-darwin9.6.0] 5.51 gauss:mspec brian$ ruby1.9 -v -e 'p 5.51' ruby 1.9.2dev (2009-03-30 trunk 23098) [i386-darwin9.6.0] 5.5099999999999998 gauss:mspec brian$ ruby1.9 -v -e 'puts 5.51' ruby 1.9.2dev (2009-03-30 trunk 23098) [i386-darwin9.6.0] 5.5099999999999998 ---------------------------------------- http://redmine.ruby-lang.org