mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
918 B
31 lines
918 B
// 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[45];
|
|
};
|
|
}
|
|
} // namespace v8::internal
|
|
|
|
#endif // V8_FDLIBM_H_
|
|
|