Rational#% differs from MRI when argument is negative
-----------------------------------------------------
Key: JRUBY-2828
URL: http://jira.codehaus.org/browse/JRUBY-2828
Project: JRuby
Issue Type: Bug
Reporter: Daniel Berger
Assignee: Thomas E Enebo
MRI:
{noformat}
irb(main):001:0> require 'rational'
=> true
irb(main):002:0> Rational(3, 4) % -1
=> Rational(-1, 4)
{noformat}
JRuby:
{noformat}
irb(main):001:0> require 'rational'
=> true
irb(main):002:0> Rational(3, 4) % -1
=> Rational(3, 4)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email