Project

General

Profile

Bug #2483

Updated by jeremyevans0 (Jeremy Evans) 12 months ago

=begin 
  
  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' 
 
 =end 
 

Back