Rational(3,-4).to_i should return -1
------------------------------------
Key: JRUBY-3860
URL: http://jira.codehaus.org/browse/JRUBY-3860
Project: JRuby
Issue Type: Bug
Components: Ruby 1.8.7, Ruby 1.9
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.4
See line 172 of test/externals/ruby_test/test/stdlib/Rational/tc_rational.rb:
{noformat}
assert_equal(-1, Rational(3,-4).to_i)
{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