Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: base/third_party/dmg_fp/float_precision_crash.patch

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/third_party/dmg_fp/dtoa_wrapper.cc ('k') | base/third_party/dmg_fp/g_fmt.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « base/third_party/dmg_fp/dtoa_wrapper.cc ('k') | base/third_party/dmg_fp/g_fmt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698