diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-14 14:53:05 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-14 14:53:05 +0000 |
commit | 5a322dfa52418ff829bcef7162fa8f71e8569144 (patch) | |
tree | cdf7072e20eea75d756274757390a77e9032cb7e /bignum.c | |
parent | 74483e11f55124cf9cd679a8964614fe8b354e4f (diff) |
This commit was manufactured by cvs2svn to create tag 'v1_8_5_9'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_9@11389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -99,7 +99,10 @@ static VALUE bignorm(x) VALUE x; { - if (!FIXNUM_P(x)) { + if (FIXNUM_P(x)) { + return x; + } + else if (TYPE(x) == T_BIGNUM) { long len = RBIGNUM(x)->len; BDIGIT *ds = BDIGITS(x); |