Issue #5276 has been updated by Marc-Andre Lafortune.
Interestingly, the first bug is in dbl2ival, not in my patch. My patch just uncovered it. In particular:
0.59.divmod(7.761021455128987e-11).first # => 7602092113 on 64 bits platform
# but 7602092112 on 32 bits
This bug was incompletely addressed in r13902.
Fixed in r33198 and r33199.
Moving to backport.
----------------------------------------
Bug #5276: 4294967295.8.round is 4294967295 on 32bit
http://redmine.ruby-lang.org/issues/5276
Author: Yui NARUSE
Status: Closed
Priority: Normal
Assignee: Marc-Andre Lafortune
Category: core
Target version: 1.9.3
ruby -v: ruby 1.9.4dev (2011-09-05 trunk 33189) [i686-linux]
ruby -e'p 4294967295.8.round' must be 4294967296 but 4294967295 on 32bit environment.
--
http://redmine.ruby-lang.org