/external/v8/test/mjsunit/es6/ |
H A D | math-expm1.js | 7 assertTrue(isNaN(Math.expm1(NaN))); 8 assertTrue(isNaN(Math.expm1(function() {}))); 9 assertTrue(isNaN(Math.expm1({ toString: function() { return NaN; } }))); 10 assertTrue(isNaN(Math.expm1({ valueOf: function() { return "abc"; } }))); 11 assertEquals(Infinity, 1/Math.expm1(0)); 12 assertEquals(-Infinity, 1/Math.expm1(-0)); 13 assertEquals(Infinity, Math.expm1(Infinity)); 14 assertEquals(-1, Math.expm1(-Infinity)); 18 // Math.expm1(x) stays reasonably close to Math.exp(x) - 1 for large values. 21 assertEqualsDelta(expected, Math.expm1( 30 function expm1(x) { function [all...] |
/external/v8/src/base/ |
H A D | ieee754.h | 45 double expm1(double x);
|
H A D | ieee754.cc | 1901 /* expm1(x) 1913 * 2. Approximating expm1(r) by a special rational function on 1939 * expm1(r) = exp(r)-1 is then computed by the following 1943 * expm1(r) = r + --- + --- * [--------------------] 1947 * expm1(r+c) = expm1(r) + c + expm1(r)*c 1948 * ~ expm1(r) + c + r*c 1950 * expm1(r+c). Now rearrange the term to avoid optimization 1954 * expm1( 1995 double expm1(double x) { function in namespace:v8::base::ieee754 [all...] |
/external/v8/test/unittests/base/ |
H A D | ieee754-unittest.cc | 154 EXPECT_THAT(expm1(std::numeric_limits<double>::quiet_NaN()), IsNaN()); 155 EXPECT_THAT(expm1(std::numeric_limits<double>::signaling_NaN()), IsNaN()); 156 EXPECT_EQ(-1.0, expm1(-std::numeric_limits<double>::infinity())); 158 expm1(std::numeric_limits<double>::infinity())); 159 EXPECT_EQ(0.0, expm1(-0.0)); 160 EXPECT_EQ(0.0, expm1(0.0)); 161 EXPECT_EQ(1.718281828459045, expm1(1.0)); 162 EXPECT_EQ(2.6881171418161356e+43, expm1(100.0)); 163 EXPECT_EQ(8.218407461554972e+307, expm1(709.0)); 164 EXPECT_EQ(std::numeric_limits<double>::infinity(), expm1(710. [all...] |
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/ |
H A D | __clang_cuda_math_forward_declares.h | 77 __DEVICE__ double expm1(double); 78 __DEVICE__ float expm1(float); 204 using ::expm1;
|
H A D | tgmath.h | 679 // expm1 687 __tg_expm1(double __x) {return expm1(__x);} 693 #undef expm1 macro 694 #define expm1(__x) __tg_expm1(__tg_promote1((__x))(__x)) macro
|
/external/bison/darwin-lib/ |
H A D | math.h | 962 # undef expm1 963 # define expm1 rpl_expm1 965 _GL_FUNCDECL_RPL (expm1, double, (double x)); 966 _GL_CXXALIAS_RPL (expm1, double, (double x)); 969 _GL_FUNCDECL_SYS (expm1, double, (double x)); 971 _GL_CXXALIAS_SYS (expm1, double, (double x)); 973 _GL_CXXALIASWARN (expm1); 975 # undef expm1 macro 977 _GL_WARN_ON_USE (expm1, "expm1 i [all...] |
/external/bison/lib/ |
H A D | math.in.h | 650 # undef expm1 macro 651 # define expm1 rpl_expm1 macro 653 _GL_FUNCDECL_RPL (expm1, double, (double x)); 654 _GL_CXXALIAS_RPL (expm1, double, (double x)); 657 _GL_FUNCDECL_SYS (expm1, double, (double x)); 659 _GL_CXXALIAS_SYS (expm1, double, (double x)); 661 _GL_CXXALIASWARN (expm1); variable 663 # undef expm1 macro 665 _GL_WARN_ON_USE (expm1, "expm1 i [all...] |
/external/bison/linux-lib/ |
H A D | math.h | 962 # undef expm1 963 # define expm1 rpl_expm1 965 _GL_FUNCDECL_RPL (expm1, double, (double x)); 966 _GL_CXXALIAS_RPL (expm1, double, (double x)); 969 _GL_FUNCDECL_SYS (expm1, double, (double x)); 971 _GL_CXXALIAS_SYS (expm1, double, (double x)); 973 _GL_CXXALIASWARN (expm1); 975 # undef expm1 macro 977 _GL_WARN_ON_USE (expm1, "expm1 i [all...] |
/external/clang/test/CodeGen/ |
H A D | libcall-declarations.c | 82 double expm1(double); 278 F(exp2f), F(exp2l), F(expm1), F(expm1f), F(expm1l), 381 // CHECK-NOERRNO: declare double @expm1(double) [[NUW]]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/ |
H A D | ComposableFunction.java | 122 /** The {@code FastMath.expm1} method wrapped as a {@link ComposableFunction}. */ 127 return FastMath.expm1(d);
|
/external/libcxx/test/std/numerics/c.math/ |
H A D | cmath.pass.cpp | 76 Ambiguous expm1(Ambiguous){ return Ambiguous(); } function 868 static_assert((std::is_same<decltype(std::expm1((float)0)), float>::value), ""); 869 static_assert((std::is_same<decltype(std::expm1((bool)0)), double>::value), ""); 870 static_assert((std::is_same<decltype(std::expm1((unsigned short)0)), double>::value), ""); 871 static_assert((std::is_same<decltype(std::expm1((int)0)), double>::value), ""); 872 static_assert((std::is_same<decltype(std::expm1((unsigned int)0)), double>::value), ""); 873 static_assert((std::is_same<decltype(std::expm1((long)0)), double>::value), ""); 874 static_assert((std::is_same<decltype(std::expm1((unsigned long)0)), double>::value), ""); 875 static_assert((std::is_same<decltype(std::expm1((long long)0)), double>::value), ""); 876 static_assert((std::is_same<decltype(std::expm1((unsigne [all...] |
/external/clang/lib/Headers/ |
H A D | tgmath.h | 679 // expm1 687 __tg_expm1(double __x) {return expm1(__x);} 693 #undef expm1 macro 694 #define expm1(__x) __tg_expm1(__tg_promote1((__x))(__x)) macro
|
/external/libcxx/test/std/depr/depr.c.headers/ |
H A D | math_h.pass.cpp | 397 static_assert((std::is_same<decltype(expm1((double)0)), double>::value), ""); 400 assert(expm1(0) == 0);
|
/external/ltrace/etc/ |
H A D | libm.so.conf | 284 double expm1(double);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
H A D | FastMath.java | 401 expm1(x, hiPrec); 406 /* Compute expm1(-x) = -expm1(x) / (expm1(x) + 1) */ 517 // tanh(x) = expm1(2x) / (expm1(2x) + 2) 518 expm1(x*2.0, hiPrec); 828 public static double expm1(double x) { method in class:FastMath 829 return expm1(x, null); 832 /** Internal helper method for expm1 837 private static double expm1(double x, double hiPrecOut[]) { method in class:FastMath [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
H A D | ArrayRealVector.java | 397 data[i] = FastMath.expm1(data[i]);
|
/external/llvm/lib/Analysis/ |
H A D | TargetLibraryInfo.cpp | 167 TLI.setUnavailable(LibFunc::expm1);
|
/external/eigen/unsupported/test/mpreal/ |
H A D | mpreal.h | 402 friend const mpreal expm1(const mpreal& v, mp_rnd_t rnd_mode);
2230 inline const mpreal expm1 (const mpreal& x, mp_rnd_t r = mpreal::get_default_rnd()) { MPREAL_UNARY_MATH_FUNCTION_BODY(expm1 ); }
|
/external/v8/src/ |
H A D | assembler.cc | 1551 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL));
|
/external/v8/src/compiler/ |
H A D | machine-operator-reducer.cc | 392 if (m.HasValue()) return ReplaceFloat64(base::ieee754::expm1(m.Value()));
|
/external/v8/src/compiler/arm/ |
H A D | code-generator-arm.cc | 693 ASSEMBLE_IEEE754_UNOP(expm1);
|
/external/v8/src/compiler/arm64/ |
H A D | code-generator-arm64.cc | 826 ASSEMBLE_IEEE754_UNOP(expm1);
|
/external/v8/src/compiler/ia32/ |
H A D | code-generator-ia32.cc | 665 ASSEMBLE_IEEE754_UNOP(expm1);
|
/external/v8/src/compiler/mips/ |
H A D | code-generator-mips.cc | 760 ASSEMBLE_IEEE754_UNOP(expm1);
|