Issue #585 has been updated by Marc-Andre Lafortune.

Category set to DOC
Status changed from Closed to Open
ruby -v set to -

Documentation was incorrect.

x.remainder(y) = x - (x/y).truncate

Among other things, if y divides x, then modulo == remainder == 0 no matter what the signs involved.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/585

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