OLD | NEW |
| (Empty) |
1 // The following is adapted from fdlibm (http://www.netlib.org/fdlibm). | |
2 // | |
3 // ==================================================== | |
4 // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | |
5 // | |
6 // Developed at SunSoft, a Sun Microsystems, Inc. business. | |
7 // Permission to use, copy, modify, and distribute this | |
8 // software is freely granted, provided that this notice | |
9 // is preserved. | |
10 // ==================================================== | |
11 // | |
12 // The original source code covered by the above license above has been | |
13 // modified significantly by Google Inc. | |
14 // Copyright 2014 the V8 project authors. All rights reserved. | |
15 | |
16 #ifndef V8_FDLIBM_H_ | |
17 #define V8_FDLIBM_H_ | |
18 | |
19 namespace v8 { | |
20 namespace fdlibm { | |
21 | |
22 int rempio2(double x, double* y); | |
23 | |
24 // Constants to be exposed to builtins via Float64Array. | |
25 struct MathConstants { | |
26 static const double constants[53]; | |
27 }; | |
28 } | |
29 } // namespace v8::internal | |
30 | |
31 #endif // V8_FDLIBM_H_ | |
OLD | NEW |