From: Yui NARUSE Date: 2010-11-15T10:30:04+09:00 Subject: [ruby-core:33184] [Ruby 1.8-Bug#4023][Rejected] to_i pathological case in 1.8.7, 1.9.2 Issue #4023 has been updated by Yui NARUSE. Status changed from Open to Rejected Learn floating point numbers. What Every Computer Scientist Should Know About Floating-Point Arithmetic http://docs.sun.com/source/806-3568/ncg_goldberg.html http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#floats_imprecise http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4023 ---------------------------------------- http://redmine.ruby-lang.org