Fixnum#>> and Bignum#>> should not raise RangeError when the given argument is 
out of range of Integer
------------------------------------------------------------------------------------------------------

                 Key: JRUBY-2250
                 URL: http://jira.codehaus.org/browse/JRUBY-2250
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC2
         Environment: Latest JRuby 1.1RC2
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.1


The title says it all. Right shift for very large values should not raise 
RangeError, but rather return 0 for positive value and -1 for negative one.

This leads to two rubyspec failures:
Fixnum#>> does not raise RangeError when the given argument is out of range of 
Integer
Bignum#>> does not raise RangeError when the given argument is out of range of 
Integer

-- 
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


Reply via email to