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

Side by Side Diff: src/third_party/fdlibm/fdlibm.cc

Issue 1163803002: Cosmetic changes to tests to make it easier to concatenate them. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix snapshot-external.cc Created 5 years, 6 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 | « src/strtod.cc ('k') | src/token.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm). 1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm).
2 // 2 //
3 // ==================================================== 3 // ====================================================
4 // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
5 // 5 //
6 // Developed at SunSoft, a Sun Microsystems, Inc. business. 6 // Developed at SunSoft, a Sun Microsystems, Inc. business.
7 // Permission to use, copy, modify, and distribute this 7 // Permission to use, copy, modify, and distribute this
8 // software is freely granted, provided that this notice 8 // software is freely granted, provided that this notice
9 // is preserved. 9 // is preserved.
10 // ==================================================== 10 // ====================================================
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 int nx = 3; 283 int nx = 3;
284 while (tx[nx - 1] == zero) nx--; 284 while (tx[nx - 1] == zero) nx--;
285 int n = __kernel_rem_pio2(tx, y, e0, nx); 285 int n = __kernel_rem_pio2(tx, y, e0, nx);
286 if (hx < 0) { 286 if (hx < 0) {
287 y[0] = -y[0]; 287 y[0] = -y[0];
288 y[1] = -y[1]; 288 y[1] = -y[1];
289 return -n; 289 return -n;
290 } 290 }
291 return n; 291 return n;
292 } 292 }
293 } 293 } // namespace internal
294 } // namespace v8::internal 294 } // namespace v8
OLDNEW
« no previous file with comments | « src/strtod.cc ('k') | src/token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698