/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | MathFunctions.h | 43 return make_double2(log1p(a.x), log1p(a.y));
|
D | Half.h | 398 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half log1p(const half& a) { in log1p() function 399 return half(numext::log1p(float(a))); in log1p()
|
/external/eigen/test/ |
D | half_float.cpp | 205 VERIFY_IS_EQUAL(float(numext::log1p(half(0.0f))), 0.0f); in test_basic_functions() 206 VERIFY_IS_EQUAL(float(log1p(half(0.0f))), 0.0f); in test_basic_functions() 207 VERIFY_IS_APPROX(float(numext::log1p(half(10.0f))), 2.3978953f); in test_basic_functions() 208 VERIFY_IS_APPROX(float(log1p(half(10.0f))), 2.3978953f); in test_basic_functions()
|
D | array.cpp | 260 VERIFY_IS_APPROX(m3.log1p(), log1p(m3)); in array_real() 292 VERIFY_IS_APPROX((m3 + smallNumber + 1).log() , log1p(abs(m1) + smallNumber)); in array_real()
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 131 __DEVICE__ double log1p(double); 132 __DEVICE__ float log1p(float); 233 using ::log1p;
|
D | tgmath.h | 953 __tg_log1p(double __x) {return log1p(__x);} in __tg_log1p() 959 #undef log1p 960 #define log1p(__x) __tg_log1p(__tg_promote1((__x))(__x)) macro
|
/external/eigen/Eigen/src/Core/ |
D | MathFunctions.h | 493 EIGEN_DEVICE_FUNC inline Scalar log1p(const Scalar& x) { 508 using std::log1p; 510 using std_fallback::log1p; 511 return log1p(x); 952 inline EIGEN_MATHFUNC_RETVAL(log1p, Scalar) log1p(const Scalar& x) 954 return EIGEN_MATHFUNC_IMPL(log1p, Scalar)::run(x); 959 float log1p(const float &x) { return ::log1pf(x); } 962 double log1p(const double &x) { return ::log1p(x); }
|
D | GlobalFunctions.h | 75 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log1p,scalar_log1p_op,natural logarithm of 1 plus the value,\sa A…
|
/external/python/cpython2/Lib/test/ |
D | test_math.py | 607 self.assertRaises(TypeError, math.log1p) 608 self.ftest('log1p(1/e -1)', math.log1p(1/math.e-1), -1) 609 self.ftest('log1p(0)', math.log1p(0), 0) 610 self.ftest('log1p(e-1)', math.log1p(math.e-1), 1) 611 self.ftest('log1p(1)', math.log1p(1), math.log(2)) 612 self.assertEqual(math.log1p(INF), INF) 613 self.assertRaises(ValueError, math.log1p, NINF) 614 self.assertTrue(math.isnan(math.log1p(NAN))) 616 self.assertAlmostEqual(math.log1p(n), 62.383246250395075) 617 self.assertAlmostEqual(math.log1p(n), math.log1p(float(n)))
|
/external/v8/src/base/ |
D | ieee754.h | 49 V8_BASE_EXPORT double log1p(double x);
|
D | ieee754.cc | 1014 return log1p(t + sqrt(2.0 * t + t * t)); in acosh() 1142 w = log1p(fabs(x) + t / (one + sqrt(one + t))); in asinh() 1618 t = 0.5 * log1p(t + t * x / (one - x)); in atanh() 1620 t = 0.5 * log1p((x + x) / (one - x)); in atanh() 1821 double log1p(double x) { in log1p() function
|
/external/bison/linux-lib/ |
D | math.h | 1675 # undef log1p 1676 # define log1p rpl_log1p 1678 _GL_FUNCDECL_RPL (log1p, double, (double x)); 1679 _GL_CXXALIAS_RPL (log1p, double, (double x)); 1682 _GL_FUNCDECL_SYS (log1p, double, (double x)); 1684 _GL_CXXALIAS_SYS (log1p, double, (double x)); 1686 _GL_CXXALIASWARN (log1p); 1688 # undef log1p 1690 _GL_WARN_ON_USE (log1p, "log1p has portability problems - "
|
/external/bison/lib/ |
D | math.in.h | 1363 # undef log1p 1364 # define log1p rpl_log1p macro 1366 _GL_FUNCDECL_RPL (log1p, double, (double x)); 1367 _GL_CXXALIAS_RPL (log1p, double, (double x)); 1370 _GL_FUNCDECL_SYS (log1p, double, (double x)); 1372 _GL_CXXALIAS_SYS (log1p, double, (double x)); 1374 _GL_CXXALIASWARN (log1p); 1376 # undef log1p 1378 _GL_WARN_ON_USE (log1p, "log1p has portability problems - "
|
/external/bison/darwin-lib/ |
D | math.h | 1675 # undef log1p 1676 # define log1p rpl_log1p 1678 _GL_FUNCDECL_RPL (log1p, double, (double x)); 1679 _GL_CXXALIAS_RPL (log1p, double, (double x)); 1682 _GL_FUNCDECL_SYS (log1p, double, (double x)); 1684 _GL_CXXALIAS_SYS (log1p, double, (double x)); 1686 _GL_CXXALIASWARN (log1p); 1688 # undef log1p 1690 _GL_WARN_ON_USE (log1p, "log1p has portability problems - "
|
/external/python/cpython2/Modules/ |
D | _math.c | 206 return log1p(x); in _Py_log1p()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | BetaDistributionImpl.java | 163 double log1mX = FastMath.log1p(-x); in density()
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 83 Ambiguous log1p(Ambiguous){ return Ambiguous(); } in log1p() function 1136 static_assert((std::is_same<decltype(log1p((float)0)), float>::value), ""); in test_log1p() 1137 static_assert((std::is_same<decltype(log1p((bool)0)), double>::value), ""); in test_log1p() 1138 static_assert((std::is_same<decltype(log1p((unsigned short)0)), double>::value), ""); in test_log1p() 1139 static_assert((std::is_same<decltype(log1p((int)0)), double>::value), ""); in test_log1p() 1140 static_assert((std::is_same<decltype(log1p((unsigned int)0)), double>::value), ""); in test_log1p() 1141 static_assert((std::is_same<decltype(log1p((long)0)), double>::value), ""); in test_log1p() 1142 static_assert((std::is_same<decltype(log1p((unsigned long)0)), double>::value), ""); in test_log1p() 1143 static_assert((std::is_same<decltype(log1p((long long)0)), double>::value), ""); in test_log1p() 1144 static_assert((std::is_same<decltype(log1p((unsigned long long)0)), double>::value), ""); in test_log1p() [all …]
|
/external/eigen/doc/ |
D | CoeffwiseMathFunctionsTable.dox | 108 a.\link ArrayBase::log1p log1p\endlink(); \n 109 \link Eigen::log1p log1p\endlink(a); 113 …plus \c using <a href="http://en.cppreference.com/w/cpp/numeric/math/log1p">\c std::log1p </a>; \c…
|
/external/llvm/test/Transforms/InstCombine/ |
D | double-float-shrink-1.ll | 220 %call = call fast double @log1p(double %conv) 229 %call = call fast double @log1p(double %conv) 232 ; CHECK: call fast double @log1p(double %conv) 399 declare double @log1p(double)
|
/external/clang/test/CodeGen/ |
D | libcall-declarations.c | 121 double log1p(double); 286 F(log10l), F(log1p), F(log1pf), F(log1pl), F(log2),
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 85 Ambiguous log1p(Ambiguous){ return Ambiguous(); } in log1p() function 1160 static_assert((std::is_same<decltype(std::log1p((float)0)), float>::value), ""); in test_log1p() 1161 static_assert((std::is_same<decltype(std::log1p((bool)0)), double>::value), ""); in test_log1p() 1162 static_assert((std::is_same<decltype(std::log1p((unsigned short)0)), double>::value), ""); in test_log1p() 1163 static_assert((std::is_same<decltype(std::log1p((int)0)), double>::value), ""); in test_log1p() 1164 static_assert((std::is_same<decltype(std::log1p((unsigned int)0)), double>::value), ""); in test_log1p() 1165 static_assert((std::is_same<decltype(std::log1p((long)0)), double>::value), ""); in test_log1p() 1166 static_assert((std::is_same<decltype(std::log1p((unsigned long)0)), double>::value), ""); in test_log1p() 1167 static_assert((std::is_same<decltype(std::log1p((long long)0)), double>::value), ""); in test_log1p() 1168 static_assert((std::is_same<decltype(std::log1p((unsigned long long)0)), double>::value), ""); in test_log1p() [all …]
|
/external/eigen/Eigen/src/plugins/ |
D | ArrayCwiseUnaryOps.h | 119 log1p() const in log1p() function
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/ |
D | ComposableFunction.java | 216 return FastMath.log1p(d);
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
D | MatrixPower.h | 302 …ComplexScalar w = numext::log1p((curr-prev)/prev)/RealScalar(2) + ComplexScalar(0, EIGEN_PI*unwind… in computeSuperDiag() 314 RealScalar w = numext::log1p((curr-prev)/prev)/RealScalar(2); in computeSuperDiag()
|
D | MatrixLogarithm.h | 66 result(0,1) = A(0,1) * (numext::log1p(y/A(0,0)) + Scalar(0,2*EIGEN_PI*unwindingNumber)) / y; in matrix_log_compute_2x2()
|