Home
last modified time | relevance | path

Searched refs:log1p (Results 1 – 25 of 66) sorted by relevance

123

/external/eigen/Eigen/src/Core/arch/CUDA/
DMathFunctions.h43 return make_double2(log1p(a.x), log1p(a.y));
DHalf.h398 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/
Dhalf_float.cpp205 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()
Darray.cpp260 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.h131 __DEVICE__ double log1p(double);
132 __DEVICE__ float log1p(float);
233 using ::log1p;
Dtgmath.h953 __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/
DMathFunctions.h493 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); }
DGlobalFunctions.h75 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log1p,scalar_log1p_op,natural logarithm of 1 plus the value,\sa A…
/external/python/cpython2/Lib/test/
Dtest_math.py607 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/
Dieee754.h49 V8_BASE_EXPORT double log1p(double x);
Dieee754.cc1014 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/
Dmath.h1675 # 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/
Dmath.in.h1363 # 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/
Dmath.h1675 # 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.c206 return log1p(x); in _Py_log1p()
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DBetaDistributionImpl.java163 double log1mX = FastMath.log1p(-x); in density()
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp83 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/
DCoeffwiseMathFunctionsTable.dox108 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/
Ddouble-float-shrink-1.ll220 %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/
Dlibcall-declarations.c121 double log1p(double);
286 F(log10l), F(log1p), F(log1pf), F(log1pl), F(log2),
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp85 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/
DArrayCwiseUnaryOps.h119 log1p() const in log1p() function
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/
DComposableFunction.java216 return FastMath.log1p(d);
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixPower.h302 …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()
DMatrixLogarithm.h66 result(0,1) = A(0,1) * (numext::log1p(y/A(0,0)) + Scalar(0,2*EIGEN_PI*unwindingNumber)) / y; in matrix_log_compute_2x2()

123