OLD | NEW |
---|---|
(Empty) | |
1 diff --git a/base/third_party/dmg_fp/dtoa.cc b/base/third_party/dmg_fp/dtoa.cc | |
2 index 3f7e794..3312fa4 100644 | |
3 --- dtoa.cc | |
4 +++ dtoa.cc | |
5 @@ -3891,7 +3891,7 @@ dtoa | |
6 goto no_digits; | |
7 goto one_digit; | |
8 } | |
9 - for(i = 1;; i++, dval(&u) *= 10.) { | |
10 + for(i = 1; i <= k + 1; i++, dval(&u) *= 10.) { | |
11 L = (Long)(dval(&u) / ds); | |
12 dval(&u) -= L*ds; | |
13 #ifdef Check_FLT_ROUNDS | |
OLD | NEW |