/external/python/cpython2/Lib/test/ |
D | math_testcases.txt | 374 -- 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/ |
D | math_testcases.txt | 446 -- 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/ |
D | cwise_op_expm1.cc | 19 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);
|
D | cwise_op_gpu_expm1.cu.cc | 22 DEFINE_UNARY3(expm1, Eigen::half, float, double);
|
D | unary_ops_composition.cc | 270 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/ |
D | elu_op.cc | 37 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/ |
D | api_def_Expm1.pbtxt | 4 name: "math.expm1" 7 name: "expm1"
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | cwise_ops_unary_test.py | 204 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)
|
D | matrix_exponential_op_test.py | 157 expm1 = linalg_impl.matrix_exponential(matrix1) 159 expm = self.evaluate([expm1, expm2])
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | weibull_test.py | 68 -np.expm1(-1 / 400.), 69 -np.expm1(-16), num=10).astype(np.float32)
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 77 __DEVICE__ double expm1(double); 78 __DEVICE__ float expm1(float); 204 using ::expm1;
|
/external/python/cpython2/Modules/ |
D | _math.h | 32 #define m_expm1 expm1
|
/external/python/cpython3/Modules/ |
D | _math.h | 29 # define m_expm1 expm1
|
/external/v8/src/base/ |
D | ieee754.h | 61 V8_BASE_EXPORT double expm1(double x);
|
/external/python/cpython2/Doc/library/ |
D | math.rst | 166 .. 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/ |
D | softplus.py | 141 return -math_ops.log(-math_ops.expm1(-y))
|
D | power_transform.py | 102 return math_ops.expm1(math_ops.log(y) * self.power) / self.power
|
D | weibull.py | 114 return -math_ops.expm1(-((x / self.scale) ** self.concentration))
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 74 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/ |
D | libcalls-shrinkwrap-double.ll | 50 %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/ |
D | double-float-shrink-1.ll | 150 %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/ |
D | libcall-declarations.c | 82 double expm1(double); 278 F(exp2f), F(exp2l), F(expm1), F(expm1f), F(expm1l),
|
/external/tensorflow/tensorflow/compiler/tf2xla/python/ |
D | xla.py | 86 expm1 = _unary_op(math_ops.expm1) variable
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | estimator_test.py | 49 scale_bias = np.log(np.expm1(1.))
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 76 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 …]
|