diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-29 12:22:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-29 12:22:04 +0000 |
commit | be7bf5aa0cd9a8e90dbaf268d53b8590fc23393d (patch) | |
tree | c7c9bb262103dc191b197b133d941ac997f1b41f /bignum.c | |
parent | e878df745ca89ecdb07090ad2bb99fd433dfc3a3 (diff) | |
download | ruby-be7bf5aa0cd9a8e90dbaf268d53b8590fc23393d.tar.gz |
adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1557,7 +1557,7 @@ rb_big_cmp(VALUE x, VALUE y) xds = BDIGITS(x); yds = BDIGITS(y); - while(xlen-- && (xds[xlen]==yds[xlen])); + while (xlen-- && (xds[xlen]==yds[xlen])); if (-1 == xlen) return INT2FIX(0); return (xds[xlen] > yds[xlen]) ? (RBIGNUM_SIGN(x) ? INT2FIX(1) : INT2FIX(-1)) : @@ -2825,7 +2825,7 @@ bigdivrem(VALUE x, VALUE y, volatile VALUE *divp, volatile VALUE *modp) while (ny > 1 && !zds[ny-1]) --ny; if (dd) { t2 = 0; i = ny; - while(i--) { + while (i--) { t2 = (t2 | zds[i]) >> dd; q = zds[i]; zds[i] = BIGLO(t2); |