Rational improvements to fix all remaining failing specs
--------------------------------------------------------
Key: JRUBY-4452
URL: http://jira.codehaus.org/browse/JRUBY-4452
Project: JRuby
Issue Type: Improvement
Reporter: David Calavera
Assignee: Thomas E Enebo
Fix For: JRuby 1.5
Attachments: rational_spec.patch
There are a few failing rubyspecs ralated with Rational:
- Rational#coerce returns [argument, self] when given a Rational
- Rational#div passed a Float raises a ZeroDivisionError when the argument is
0.0
- Rational#divmod when passed a Float raises a ZeroDivisionError when passed 0
- Rational#% raises a ZeroDivisionError when the argument is 0.0
I include a tiny patch to fix all those specs.
--
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