| Index: src/base/ieee754.h
|
| diff --git a/src/base/ieee754.h b/src/base/ieee754.h
|
| index 80523a1414c5adeb867d6405e84f009920c0ba41..72f3db15ef22afa6004b4fad945bc285beb4d0a6 100644
|
| --- a/src/base/ieee754.h
|
| +++ b/src/base/ieee754.h
|
| @@ -5,73 +5,75 @@
|
| #ifndef V8_BASE_IEEE754_H_
|
| #define V8_BASE_IEEE754_H_
|
|
|
| +#include "src/base/base-export.h"
|
| +
|
| namespace v8 {
|
| namespace base {
|
| namespace ieee754 {
|
|
|
| // Returns the arc cosine of |x|; that is the value whose cosine is |x|.
|
| -double acos(double x);
|
| +V8_BASE_EXPORT double acos(double x);
|
|
|
| // Returns the inverse hyperbolic cosine of |x|; that is the value whose
|
| // hyperbolic cosine is |x|.
|
| -double acosh(double x);
|
| +V8_BASE_EXPORT double acosh(double x);
|
|
|
| // Returns the arc sine of |x|; that is the value whose sine is |x|.
|
| -double asin(double x);
|
| +V8_BASE_EXPORT double asin(double x);
|
|
|
| // Returns the inverse hyperbolic sine of |x|; that is the value whose
|
| // hyperbolic sine is |x|.
|
| -double asinh(double x);
|
| +V8_BASE_EXPORT double asinh(double x);
|
|
|
| // Returns the principal value of the arc tangent of |x|; that is the value
|
| // whose tangent is |x|.
|
| -double atan(double x);
|
| +V8_BASE_EXPORT double atan(double x);
|
|
|
| // Returns the principal value of the arc tangent of |y/x|, using the signs of
|
| // the two arguments to determine the quadrant of the result.
|
| -double atan2(double y, double x);
|
| +V8_BASE_EXPORT double atan2(double y, double x);
|
|
|
| // Returns the cosine of |x|, where |x| is given in radians.
|
| -double cos(double x);
|
| +V8_BASE_EXPORT double cos(double x);
|
|
|
| // Returns the base-e exponential of |x|.
|
| -double exp(double x);
|
| +V8_BASE_EXPORT double exp(double x);
|
|
|
| -double atanh(double x);
|
| +V8_BASE_EXPORT double atanh(double x);
|
|
|
| // Returns the natural logarithm of |x|.
|
| -double log(double x);
|
| +V8_BASE_EXPORT double log(double x);
|
|
|
| // Returns a value equivalent to |log(1+x)|, but computed in a way that is
|
| // accurate even if the value of |x| is near zero.
|
| -double log1p(double x);
|
| +V8_BASE_EXPORT double log1p(double x);
|
|
|
| // Returns the base 2 logarithm of |x|.
|
| -double log2(double x);
|
| +V8_BASE_EXPORT double log2(double x);
|
|
|
| // Returns the base 10 logarithm of |x|.
|
| -double log10(double x);
|
| +V8_BASE_EXPORT double log10(double x);
|
|
|
| // Returns the cube root of |x|.
|
| -double cbrt(double x);
|
| +V8_BASE_EXPORT double cbrt(double x);
|
|
|
| // Returns exp(x)-1, the exponential of |x| minus 1.
|
| -double expm1(double x);
|
| +V8_BASE_EXPORT double expm1(double x);
|
|
|
| // Returns the sine of |x|, where |x| is given in radians.
|
| -double sin(double x);
|
| +V8_BASE_EXPORT double sin(double x);
|
|
|
| // Returns the tangent of |x|, where |x| is given in radians.
|
| -double tan(double x);
|
| +V8_BASE_EXPORT double tan(double x);
|
|
|
| // Returns the hyperbolic cosine of |x|, where |x| is given radians.
|
| -double cosh(double x);
|
| +V8_BASE_EXPORT double cosh(double x);
|
|
|
| // Returns the hyperbolic sine of |x|, where |x| is given radians.
|
| -double sinh(double x);
|
| +V8_BASE_EXPORT double sinh(double x);
|
|
|
| // Returns the hyperbolic tangent of |x|, where |x| is given radians.
|
| -double tanh(double x);
|
| +V8_BASE_EXPORT double tanh(double x);
|
|
|
| } // namespace ieee754
|
| } // namespace base
|
|
|