From: Miguel Vazquez Date: 2009-12-15T19:57:51+09:00 Subject: [ruby-core:27175] [Bug #2483] String#to_f of small numbers hangs Bug #2483: String#to_f of small numbers hangs http://redmine.ruby-lang.org/issues/show/2483 Author: Miguel Vazquez Status: Open, Priority: Normal ruby -v: ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux] There is a problem in the String#to_f method. It hangs when the float is really small. This works: ruby-1.8 -e 'puts "1e-20".to_f' This hangs: ruby-1.8 -e 'puts "1e-100".to_f' ---------------------------------------- http://redmine.ruby-lang.org