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

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

Issue 444953002: Fix windows build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 // ====================================================
11 // 11 //
12 // The original source code covered by the above license above has been 12 // The original source code covered by the above license above has been
13 // modified significantly by Google Inc. 13 // modified significantly by Google Inc.
14 // Copyright 2014 the V8 project authors. All rights reserved. 14 // Copyright 2014 the V8 project authors. All rights reserved.
15 15
16 #include <cmath>
17
16 #include "src/v8.h" 18 #include "src/v8.h"
17 19
18 #include "src/double.h" 20 #include "src/double.h"
19 #include "third_party/fdlibm/fdlibm.h" 21 #include "third_party/fdlibm/fdlibm.h"
20 22
21 23
22 namespace v8 { 24 namespace v8 {
23 namespace internal { 25 namespace internal {
24 26
25 const double TrigonometricConstants::constants[] = { 27 const double TrigonometricConstants::constants[] = {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 int n = __kernel_rem_pio2(tx, y, e0, nx); 251 int n = __kernel_rem_pio2(tx, y, e0, nx);
250 if (hx < 0) { 252 if (hx < 0) {
251 y[0] = -y[0]; 253 y[0] = -y[0];
252 y[1] = -y[1]; 254 y[1] = -y[1];
253 return -n; 255 return -n;
254 } 256 }
255 return n; 257 return n;
256 } 258 }
257 } 259 }
258 } // namespace v8::internal 260 } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698