Added check, but probably never happens with correct FEF
This commit is contained in:
parent
983e1bf095
commit
a37e49b619
|
@ -577,7 +577,11 @@ _ext_str_cvt(struct EXTEND *e, int ndigit, int *decpt, int *sign, int ecvtflag)
|
||||||
if (e->m1 != 0) {
|
if (e->m1 != 0) {
|
||||||
register struct EXTEND *pp = &big_ten_powers[1];
|
register struct EXTEND *pp = &big_ten_powers[1];
|
||||||
|
|
||||||
while(cmp_ext(e,pp) >= 0) pp++;
|
while(cmp_ext(e,pp) >= 0) {
|
||||||
|
pp++;
|
||||||
|
findex = pp - big_ten_powers;
|
||||||
|
if (findex >= BTP) break;
|
||||||
|
}
|
||||||
pp--;
|
pp--;
|
||||||
findex = pp - big_ten_powers;
|
findex = pp - big_ten_powers;
|
||||||
mul_ext(e,&r_big_ten_powers[findex],e);
|
mul_ext(e,&r_big_ten_powers[findex],e);
|
||||||
|
|
Loading…
Reference in a new issue