mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix for 'incomplete bug fix' for 1.41.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
373747ab10
commit
f55d6c9298
1 changed files with 1 additions and 1 deletions
|
@ -2311,7 +2311,6 @@ VpSubAbs(Real *a, Real *b, Real *c)
|
|||
/* each of the last few digits of the b because the a has no */
|
||||
/* corresponding digits to be subtracted. */
|
||||
if(b_pos + word_shift > a_pos) {
|
||||
borrow = 1;
|
||||
while(b_pos + word_shift > a_pos) {
|
||||
--c_pos;
|
||||
if(b_pos > 0) {
|
||||
|
@ -2320,6 +2319,7 @@ VpSubAbs(Real *a, Real *b, Real *c)
|
|||
--word_shift;
|
||||
c->frac[c_pos] = BASE - borrow;
|
||||
}
|
||||
borrow = 1;
|
||||
}
|
||||
}
|
||||
/* Just assign the last few digits of a to c because b has no */
|
||||
|
|
Loading…
Reference in a new issue