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

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

Issue 488003005: Port fdlibm implementation for Math.sinh. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: added TODO Created 6 years, 3 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 | « test/mjsunit/es6/math-hyperbolic.js ('k') | third_party/fdlibm/fdlibm.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 // ====================================================
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 #ifndef V8_FDLIBM_H_ 16 #ifndef V8_FDLIBM_H_
17 #define V8_FDLIBM_H_ 17 #define V8_FDLIBM_H_
18 18
19 namespace v8 { 19 namespace v8 {
20 namespace fdlibm { 20 namespace fdlibm {
21 21
22 int rempio2(double x, double* y); 22 int rempio2(double x, double* y);
23 23
24 // Constants to be exposed to builtins via Float64Array. 24 // Constants to be exposed to builtins via Float64Array.
25 struct MathConstants { 25 struct MathConstants {
26 static const double constants[52]; 26 static const double constants[53];
27 }; 27 };
28 } 28 }
29 } // namespace v8::internal 29 } // namespace v8::internal
30 30
31 #endif // V8_FDLIBM_H_ 31 #endif // V8_FDLIBM_H_
OLDNEW
« no previous file with comments | « test/mjsunit/es6/math-hyperbolic.js ('k') | third_party/fdlibm/fdlibm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698