Issue #5228 has been reported by Marc-Andre Lafortune.

----------------------------------------
Bug #5228: Integer#round fails on some big negative numbers
http://redmine.ruby-lang.org/issues/5228

Author: Marc-Andre Lafortune
Status: Open
Priority: Normal
Assignee: Marc-Andre Lafortune
Category: core
Target version: 1.9.3
ruby -v: trunk


Integer#round fails for some big negative numbers:

(+25 * 10**70).round(-71) # =>  30...00
(-25 * 10**70).round(-71) # => -20...00, should be -30...00



-- 
http://redmine.ruby-lang.org