summaryrefslogtreecommitdiff
path: root/deps/v8/src/third_party/fdlibm/fdlibm.h
blob: cadf85b95a1fb704921df5034cd3f1b9bdc9d115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// The following is adapted from fdlibm (http://www.netlib.org/fdlibm).
//
// ====================================================
// Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
//
// Developed at SunSoft, a Sun Microsystems, Inc. business.
// Permission to use, copy, modify, and distribute this
// software is freely granted, provided that this notice
// is preserved.
// ====================================================
//
// The original source code covered by the above license above has been
// modified significantly by Google Inc.
// Copyright 2014 the V8 project authors. All rights reserved.

#ifndef V8_FDLIBM_H_
#define V8_FDLIBM_H_

namespace v8 {
namespace fdlibm {

int rempio2(double x, double* y);

// Constants to be exposed to builtins via Float64Array.
struct MathConstants {
  static const double constants[53];
};
}
}  // namespace v8::internal

#endif  // V8_FDLIBM_H_