/external/mesa3d/src/util/ |
D | roundeven_test.c | 55 { nextafter(0.5, 0.0), 0.0 }, in main() 57 { nextafter(0.5, 1.0), 1.0 }, in main() 59 { nextafter(1.5, 1.0), 1.0 }, in main() 61 { nextafter(1.5, 2.0), 2.0 }, in main() 63 { nextafter(2.5, 2.0), 2.0 }, in main() 65 { nextafter(2.5, 3.0), 3.0 }, in main()
|
/external/catch2/projects/SelfTest/UsageTests/ |
D | Matchers.tests.cpp | 90 float nextafter(float from, float to) in nextafter() function 95 double nextafter(double from, double to) in nextafter() function 97 return ::nextafter(from, to); in nextafter() 100 using std::nextafter; 344 REQUIRE_THAT(nextafter(1.f, 2.f), WithinULP(1.f, 1)); 345 REQUIRE_THAT(nextafter(1.f, 0.f), WithinULP(1.f, 1)); 346 REQUIRE_THAT(nextafter(1.f, 2.f), !WithinULP(1.f, 0)); 386 REQUIRE_THAT(nextafter(1., 2.), WithinULP(1., 1)); 387 REQUIRE_THAT(nextafter(1., 0.), WithinULP(1., 1)); 388 REQUIRE_THAT(nextafter(1., 2.), !WithinULP(1., 0));
|
/external/tensorflow/tensorflow/core/kernels/ |
D | nextafter_op.cc | 21 REGISTER2(BinaryOp, CPU, "NextAfter", functor::nextafter, float, double); 27 BinaryOp<SYCLDevice, functor::nextafter<TYPE>>); 34 REGISTER2(BinaryOp, GPU, "NextAfter", functor::nextafter, float, double);
|
D | nextafter_op.h | 30 return std::nextafter(x1, x2); in EIGEN_EMPTY_STRUCT_CTOR() 35 struct nextafter : base<T, nextafter_op<T>> {}; struct
|
D | nextafter_op_gpu.cu.cc | 24 DEFINE_BINARY2(nextafter, float, double);
|
/external/ltp/testcases/misc/math/nextafter/ |
D | nextafter01.c | 67 answer = nextafter(1.0, 1.1); in main() 79 answer = nextafter(1.0, 0.9); in main() 90 answer = nextafter(1.0, 1.0); in main()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_NextAfter.pbtxt | 5 This operation returns the same result as the C++ std::nextafter function. 10 Equivalent to C++ std::nextafter function.
|
/external/libcxx/test/libcxx/numerics/ |
D | clamp_to_integral.pass.cpp | 37 {nextafter(static_cast<double>(Lim::max()), INFINITY), Lim::max(), false}, in test() 67 {nextafter(static_cast<float>(Lim::max()), INFINITY), Lim::max(), false}, in test_float()
|
/external/clang/lib/Headers/ |
D | __clang_cuda_math_forward_declares.h | 149 __DEVICE__ double nextafter(double, double); 150 __DEVICE__ float nextafter(float, float); 242 using ::nextafter;
|
D | tgmath.h | 1055 __tg_nextafter(double __x, double __y) {return nextafter(__x, __y);} in __tg_nextafter() 1061 #undef nextafter 1062 #define nextafter(__x, __y) __tg_nextafter(__tg_promote2((__x), (__y))(__x), \ macro
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_NextAfter.pbtxt | 4 name: "math.nextafter"
|
/external/libcxx/test/std/depr/depr.c.headers/ |
D | math_h.pass.cpp | 90 Ambiguous nextafter(Ambiguous, Ambiguous){ return Ambiguous(); } in nextafter() function 1266 static_assert((std::is_same<decltype(nextafter((float)0, (float)0)), float>::value), ""); in test_nextafter() 1267 static_assert((std::is_same<decltype(nextafter((bool)0, (float)0)), double>::value), ""); in test_nextafter() 1268 …static_assert((std::is_same<decltype(nextafter((unsigned short)0, (double)0)), double>::value), ""… in test_nextafter() 1269 …static_assert((std::is_same<decltype(nextafter((int)0, (long double)0)), long double>::value), ""); in test_nextafter() 1270 … static_assert((std::is_same<decltype(nextafter((float)0, (unsigned int)0)), double>::value), ""); in test_nextafter() 1271 static_assert((std::is_same<decltype(nextafter((double)0, (long)0)), double>::value), ""); in test_nextafter() 1272 …static_assert((std::is_same<decltype(nextafter((long double)0, (unsigned long)0)), long double>::v… in test_nextafter() 1273 static_assert((std::is_same<decltype(nextafter((int)0, (long long)0)), double>::value), ""); in test_nextafter() 1274 …static_assert((std::is_same<decltype(nextafter((int)0, (unsigned long long)0)), double>::value), "… in test_nextafter() [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_ops_test.py | 662 self.assertAllEqual(math_ops.nextafter(one, two) - one, eps) 663 self.assertAllLess(math_ops.nextafter(one, zero) - one, 0) 665 math_ops.is_nan(math_ops.nextafter(nan, one)), [True]) 667 math_ops.is_nan(math_ops.nextafter(one, nan)), [True]) 668 self.assertAllEqual(math_ops.nextafter(one, one), one) 681 self.assertAllEqual(math_ops.nextafter(one, two) - one, eps_const)
|
D | math_grad_test.py | 432 y = math_ops.nextafter(x1, x2) 464 lambda x: math_ops.nextafter(x, x2), [x1])) # pylint: disable=cell-var-from-loop 474 lambda x: math_ops.nextafter(x, x2), [x1])) # pylint: disable=cell-var-from-loop
|
/external/ltp/testcases/misc/math/ |
D | .gitignore | 43 /nextafter/nextafter01
|
/external/skqp/tests/ |
D | SkGaussFilterTest.cpp | 65 const double maxSigma = nextafter(2.0, 0.0); in DEF_TEST()
|
/external/skia/tests/ |
D | SkGaussFilterTest.cpp | 65 const double maxSigma = nextafter(2.0, 0.0); in DEF_TEST()
|
/external/libcxx/test/std/numerics/c.math/ |
D | cmath.pass.cpp | 93 Ambiguous nextafter(Ambiguous, Ambiguous){ return Ambiguous(); } in nextafter() function 1317 static_assert((std::is_same<decltype(std::nextafter((float)0, (float)0)), float>::value), ""); in test_nextafter() 1318 static_assert((std::is_same<decltype(std::nextafter((bool)0, (float)0)), double>::value), ""); in test_nextafter() 1319 …static_assert((std::is_same<decltype(std::nextafter((unsigned short)0, (double)0)), double>::value… in test_nextafter() 1320 …static_assert((std::is_same<decltype(std::nextafter((int)0, (long double)0)), long double>::value)… in test_nextafter() 1321 …static_assert((std::is_same<decltype(std::nextafter((float)0, (unsigned int)0)), double>::value), … in test_nextafter() 1322 static_assert((std::is_same<decltype(std::nextafter((double)0, (long)0)), double>::value), ""); in test_nextafter() 1323 …static_assert((std::is_same<decltype(std::nextafter((long double)0, (unsigned long)0)), long doubl… in test_nextafter() 1324 … static_assert((std::is_same<decltype(std::nextafter((int)0, (long long)0)), double>::value), ""); in test_nextafter() 1325 …static_assert((std::is_same<decltype(std::nextafter((int)0, (unsigned long long)0)), double>::valu… in test_nextafter() [all …]
|
/external/clang/test/CodeGen/ |
D | libcall-declarations.c | 139 double nextafter(double, double); 289 F(lroundl), F(nearbyint), F(nearbyintf), F(nearbyintl), F(nextafter),
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | laplace.py | 168 minval=np.nextafter(self.dtype.as_numpy_dtype(-1.),
|
/external/libcxx/include/ |
D | cmath | 260 floating_point nextafter (arithmetic x, arithmetic y); 448 using ::nextafter; 636 if (__r >= ::nextafter(static_cast<_RealT>(_MaxVal), INFINITY)) {
|
D | math.h | 1382 inline _LIBCPP_INLINE_VISIBILITY float nextafter(float __lcpp_x, float __lcpp_y) _NOEXCEPT … in nextafter() function 1383 inline _LIBCPP_INLINE_VISIBILITY long double nextafter(long double __lcpp_x, long double __lcpp_y) … in nextafter() function 1393 nextafter(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT in nextafter() function 1398 return ::nextafter((__result_type)__lcpp_x, (__result_type)__lcpp_y); in nextafter()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | stateless_random_ops.cc | 178 xla::ConstantR0<float>(builder, std::nextafter(-1.0f, 0.0f)), in Compile()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | simple_orc_jit.cc | 303 REGISTER_LIBM_SYMBOL(nextafter, double (*)(double, double)); in RegisterKnownJITSymbols()
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | ext_inst.opencl_test.cpp | 146 CASE2(Nextafter, nextafter),
|