diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 12:56:29 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 12:56:29 +0000 |
commit | a38f209a391cd67f84ef6af819f3d6bc837e72b5 (patch) | |
tree | 21a8f87f60271cd20db4cbcab26ac4e1c9396d67 /bignum.c | |
parent | 46360975a48c321527012b6b43d0eb431ee5a6ba (diff) | |
download | ruby-a38f209a391cd67f84ef6af819f3d6bc837e72b5.tar.gz |
Fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -858,7 +858,7 @@ bary_pack(int sign, BDIGIT *ds, size_t num_bdigits, void *words, size_t numwords ((BDIGIT*)words)[i] = swap_bdigit(d); } } - if (mswordfirst_p ? !msbytefirst_p : msbytefirst_p) { + if (mswordfirst_p ? !msbytefirst_p : msbytefirst_p) { size_t i; BDIGIT *p = words; for (i = 0; i < numwords; i++) { @@ -4843,10 +4843,10 @@ bigdivrem1(void *ptr) bds->j = j; return 0; } - if (zds[j] == yds[ny-1]) q = BDIGMAX; + if (zds[j] == yds[ny-1]) q = BDIGMAX; else q = (BDIGIT)((BIGUP(zds[j]) + zds[j-1])/yds[ny-1]); if (q) { - i = bds->nyzero; num = 0; t2 = 0; + i = bds->nyzero; num = 0; t2 = 0; do { /* multiply and subtract */ BDIGIT_DBL ee; t2 += (BDIGIT_DBL)yds[i] * q; |