1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

*** empty log message ***

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@63 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1998-02-03 10:02:57 +00:00
parent de0e5e35ae
commit 01bb9da7ac
12 changed files with 288 additions and 115 deletions

View file

@ -824,7 +824,7 @@ fix_rshift(x, y)
long i, val;
i = NUM2INT(y);
if (y < 32) {
if (i < sizeof(INT) * 8) {
val = RSHIFT(FIX2INT(x), i);
return INT2FIX(val);
}