blob: cadf85b95a1fb704921df5034cd3f1b9bdc9d115 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001// 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
19namespace v8 {
20namespace fdlibm {
21
22int rempio2(double x, double* y);
23
24// Constants to be exposed to builtins via Float64Array.
25struct MathConstants {
26 static const double constants[53];
27};
28}
29} // namespace v8::internal
30
31#endif // V8_FDLIBM_H_