Bugs: Browse | Submit New | Admin
Float#to_i changes the sign of some numbers. In 1.8.4 (2005-12-24) [x86_64_linux] puts 4.611686018427388e+018.to_i -> -4611686018427387904 In 1.8.2 (2004-12-25) [i686_linux] and 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32] the result is correct: puts 4.611686018427388e+018.to_i -> 4611686018427387904
Add A Comment:
Date: 2008-11-07 20:10 Sender: Roger Pack If this is still a concern then could you submit a new copy to the new tracker: http://redmine.ruby-lang.org/ --this tracker is being shelved. Thanks! -=R