Fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46360975a4
commit
a38f209a39
6
bignum.c
6
bignum.c
@ -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);
|
((BDIGIT*)words)[i] = swap_bdigit(d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mswordfirst_p ? !msbytefirst_p : msbytefirst_p) {
|
if (mswordfirst_p ? !msbytefirst_p : msbytefirst_p) {
|
||||||
size_t i;
|
size_t i;
|
||||||
BDIGIT *p = words;
|
BDIGIT *p = words;
|
||||||
for (i = 0; i < numwords; i++) {
|
for (i = 0; i < numwords; i++) {
|
||||||
@ -4843,10 +4843,10 @@ bigdivrem1(void *ptr)
|
|||||||
bds->j = j;
|
bds->j = j;
|
||||||
return 0;
|
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]);
|
else q = (BDIGIT)((BIGUP(zds[j]) + zds[j-1])/yds[ny-1]);
|
||||||
if (q) {
|
if (q) {
|
||||||
i = bds->nyzero; num = 0; t2 = 0;
|
i = bds->nyzero; num = 0; t2 = 0;
|
||||||
do { /* multiply and subtract */
|
do { /* multiply and subtract */
|
||||||
BDIGIT_DBL ee;
|
BDIGIT_DBL ee;
|
||||||
t2 += (BDIGIT_DBL)yds[i] * q;
|
t2 += (BDIGIT_DBL)yds[i] * q;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user