Home
last modified time | relevance | path

Searched refs:expm1 (Results 1 – 25 of 95) sorted by relevance

1234

/external/python/cpython2/Lib/test/
Dmath_testcases.txt374 -- expm1: exp(x) - 1, without precision loss for small x --
378 expm10000 expm1 0.0 -> 0.0
379 expm10001 expm1 -0.0 -> -0.0
380 expm10002 expm1 inf -> inf
381 expm10003 expm1 -inf -> -1.0
382 expm10004 expm1 nan -> nan
384 -- expm1(x) ~ x for tiny x
385 expm10010 expm1 5e-324 -> 5e-324
386 expm10011 expm1 1e-320 -> 1e-320
387 expm10012 expm1 1e-300 -> 1e-300
[all …]
/external/python/cpython3/Lib/test/
Dmath_testcases.txt446 -- expm1: exp(x) - 1, without precision loss for small x --
450 expm10000 expm1 0.0 -> 0.0
451 expm10001 expm1 -0.0 -> -0.0
452 expm10002 expm1 inf -> inf
453 expm10003 expm1 -inf -> -1.0
454 expm10004 expm1 nan -> nan
456 -- expm1(x) ~ x for tiny x
457 expm10010 expm1 5e-324 -> 5e-324
458 expm10011 expm1 1e-320 -> 1e-320
459 expm10012 expm1 1e-300 -> 1e-300
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_expm1.cc19 REGISTER5(UnaryOp, CPU, "Expm1", functor::expm1, float, Eigen::half, double,
22 REGISTER3(UnaryOp, GPU, "Expm1", functor::expm1, float, Eigen::half, double);
25 REGISTER2(UnaryOp, SYCL, "Expm1", functor::expm1, float, double);
Dcwise_op_gpu_expm1.cu.cc22 DEFINE_UNARY3(expm1, Eigen::half, float, double);
Dunary_ops_composition.cc270 REGISTER_COMPUTE_FN_HELPER(Expm1, functor::expm1<T>);
328 REGISTER_COMPUTE_FN_HELPER(Expm1, functor::expm1<T>);
399 REGISTER_COMPUTE_FN_HELPER(Expm1, functor::expm1<T>);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Delu_op.cc37 const auto expm1 = xla::Expm1(ctx->Input(0)); in Compile() local
38 ctx->SetOutput(0, xla::Select(pred, ctx->Input(0), expm1)); in Compile()
74 const auto expm1 = xla::Expm1(ctx->Input(0)); in Compile() local
76 xla::Mul(scale_alpha, expm1))); in Compile()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Expm1.pbtxt4 name: "math.expm1"
7 name: "expm1"
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_unary_test.py204 self._compareBoth(x, np.expm1, math_ops.expm1)
261 self._compareBoth(x, np.expm1, math_ops.expm1)
312 self._compareBoth(x, np.expm1, math_ops.expm1)
363 self._compareBoth(x, np.expm1, math_ops.expm1)
436 self._compareCpu(x, np.expm1, math_ops.expm1)
481 self._compareCpu(x, np.expm1, math_ops.expm1)
Dmatrix_exponential_op_test.py157 expm1 = linalg_impl.matrix_exponential(matrix1)
159 expm = self.evaluate([expm1, expm2])
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/
Dweibull_test.py68 -np.expm1(-1 / 400.),
69 -np.expm1(-16), num=10).astype(np.float32)
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h77 __DEVICE__ double expm1(double);
78 __DEVICE__ float expm1(float);
204 using ::expm1;
/external/python/cpython2/Modules/
D_math.h32 #define m_expm1 expm1
/external/python/cpython3/Modules/
D_math.h29 # define m_expm1 expm1
/external/v8/src/base/
Dieee754.h61 V8_BASE_EXPORT double expm1(double x);
/external/python/cpython2/Doc/library/
Dmath.rst166 .. function:: expm1(x)
170 :func:`expm1` function provides a way to compute this quantity to
173 >>> from math import exp, expm1
176 >>> expm1(1e-5) # result accurate to full precision
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dsoftplus.py141 return -math_ops.log(-math_ops.expm1(-y))
Dpower_transform.py102 return math_ops.expm1(math_ops.log(y) * self.power) / self.power
Dweibull.py114 return -math_ops.expm1(-((x / self.scale) ** self.concentration))
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp74 Ambiguous expm1(Ambiguous){ return Ambiguous(); } in expm1() function
920 static_assert((std::is_same<decltype(expm1((float)0)), float>::value), ""); in test_expm1()
921 static_assert((std::is_same<decltype(expm1((bool)0)), double>::value), ""); in test_expm1()
922 static_assert((std::is_same<decltype(expm1((unsigned short)0)), double>::value), ""); in test_expm1()
923 static_assert((std::is_same<decltype(expm1((int)0)), double>::value), ""); in test_expm1()
924 static_assert((std::is_same<decltype(expm1((unsigned int)0)), double>::value), ""); in test_expm1()
925 static_assert((std::is_same<decltype(expm1((long)0)), double>::value), ""); in test_expm1()
926 static_assert((std::is_same<decltype(expm1((unsigned long)0)), double>::value), ""); in test_expm1()
927 static_assert((std::is_same<decltype(expm1((long long)0)), double>::value), ""); in test_expm1()
928 static_assert((std::is_same<decltype(expm1((unsigned long long)0)), double>::value), ""); in test_expm1()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Util/
Dlibcalls-shrinkwrap-double.ll50 %call_5 = call double @expm1(double %value)
54 ; CHECK-NEXT: %call_5 = call double @expm1(double %value)
65 declare double @expm1(double)
/external/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-1.ll150 %call = call fast double @expm1(double %conv)
159 %call = call fast double @expm1(double %conv)
162 ; CHECK: call fast double @expm1(double %conv)
404 declare double @expm1(double)
/external/clang/test/CodeGen/
Dlibcall-declarations.c82 double expm1(double);
278 F(exp2f), F(exp2l), F(expm1), F(expm1f), F(expm1l),
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py86 expm1 = _unary_op(math_ops.expm1) variable
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Destimator_test.py49 scale_bias = np.log(np.expm1(1.))
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp76 Ambiguous expm1(Ambiguous){ return Ambiguous(); } in expm1() function
949 static_assert((std::is_same<decltype(std::expm1((float)0)), float>::value), ""); in test_expm1()
950 static_assert((std::is_same<decltype(std::expm1((bool)0)), double>::value), ""); in test_expm1()
951 static_assert((std::is_same<decltype(std::expm1((unsigned short)0)), double>::value), ""); in test_expm1()
952 static_assert((std::is_same<decltype(std::expm1((int)0)), double>::value), ""); in test_expm1()
953 static_assert((std::is_same<decltype(std::expm1((unsigned int)0)), double>::value), ""); in test_expm1()
954 static_assert((std::is_same<decltype(std::expm1((long)0)), double>::value), ""); in test_expm1()
955 static_assert((std::is_same<decltype(std::expm1((unsigned long)0)), double>::value), ""); in test_expm1()
956 static_assert((std::is_same<decltype(std::expm1((long long)0)), double>::value), ""); in test_expm1()
957 static_assert((std::is_same<decltype(std::expm1((unsigned long long)0)), double>::value), ""); in test_expm1()
[all …]

1234