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