Home
last modified time | relevance | path

Searched refs:isfinite (Results 1 – 25 of 203) sorted by relevance

123456789

/external/eigen/test/
Dstable_norm.cpp84 VERIFY(!(numext::isfinite)( std::numeric_limits<RealScalar>::infinity())); in stable_norm()
85 VERIFY(!(numext::isfinite)(sqrt(-abs(big)))); in stable_norm()
88 VERIFY((numext::isfinite)(sqrt(size)*abs(big))); in stable_norm()
95 VERIFY((numext::isfinite)(sqrt(size)*abs(small))); in stable_norm()
118 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY((numext::isnan)(v.squaredNorm())); in stable_norm()
119 VERIFY(!(numext::isfinite)(v.norm())); VERIFY((numext::isnan)(v.norm())); in stable_norm()
120 VERIFY(!(numext::isfinite)(v.stableNorm())); VERIFY((numext::isnan)(v.stableNorm())); in stable_norm()
121 VERIFY(!(numext::isfinite)(v.blueNorm())); VERIFY((numext::isnan)(v.blueNorm())); in stable_norm()
122 VERIFY(!(numext::isfinite)(v.hypotNorm())); VERIFY((numext::isnan)(v.hypotNorm())); in stable_norm()
129 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY(isPlusInf(v.squaredNorm())); in stable_norm()
[all …]
Dfastmath.cpp23 template<typename T> bool (isfinite)(T x) { return _finite(x); }
37 …" << m(3) << ") = "; check((std::isfinite)(m(3)),false); std::cout << " ; numext::isfinite = "; c… in check_inf_nan()
46 VERIFY( !(numext::isfinite)(m(3)) ); in check_inf_nan()
56 …" << m(4) << ") = "; check((std::isfinite)(m(4)),false); std::cout << " ; numext::isfinite = "; c… in check_inf_nan()
65 VERIFY( !(numext::isfinite)(m(4)) ); in check_inf_nan()
74 …" << m(3) << ") = "; check((std::isfinite)(m(3)),true); std::cout << " ; numext::isfinite = "; ch… in check_inf_nan()
83 VERIFY( (numext::isfinite)(m(3)) ); in check_inf_nan()
/external/python/cpython2/Lib/test/decimaltestdata/
Dextra.decTest459 bool0210 isfinite 0E-2000 -> 1
460 bool0211 isfinite -0E-2000 -> 1
461 bool0212 isfinite 0E-1008 -> 1
462 bool0213 isfinite -0E-1008 -> 1
463 bool0214 isfinite 0E-1007 -> 1
464 bool0215 isfinite -0E-1007 -> 1
465 bool0216 isfinite 0E-1006 -> 1
466 bool0217 isfinite -0E-1006 -> 1
467 bool0218 isfinite 0E-1000 -> 1
468 bool0219 isfinite -0E-1000 -> 1
[all …]
/external/python/cpython3/Lib/test/decimaltestdata/
Dextra.decTest459 bool0210 isfinite 0E-2000 -> 1
460 bool0211 isfinite -0E-2000 -> 1
461 bool0212 isfinite 0E-1008 -> 1
462 bool0213 isfinite -0E-1008 -> 1
463 bool0214 isfinite 0E-1007 -> 1
464 bool0215 isfinite -0E-1007 -> 1
465 bool0216 isfinite 0E-1006 -> 1
466 bool0217 isfinite -0E-1006 -> 1
467 bool0218 isfinite 0E-1000 -> 1
468 bool0219 isfinite -0E-1000 -> 1
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.isfinite.frag8 return !isnan(v) && isfinite(v);
13 isfinite(f);
14 isfinite(f2);
15 isfinite(f3);
/external/angle/third_party/glslang/src/Test/
Dhlsl.isfinite.frag8 return !isnan(v) && isfinite(v);
13 isfinite(f);
14 isfinite(f2);
15 isfinite(f3);
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dlog.pass.cpp61 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
70 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
75 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
83 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
112 …else if (std::isfinite(testcases[i].real()) && std::isfinite(testcases[i].imag()) && abs(testcases… in test_edges()
117 …else if (std::isfinite(testcases[i].real()) && std::isfinite(testcases[i].imag()) && abs(testcases… in test_edges()
Dtanh.pass.cpp48 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
53 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
58 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
80 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dacosh.pass.cpp66 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
75 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
80 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
89 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
120 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dcosh.pass.cpp57 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
62 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
74 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
97 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dsqrt.pass.cpp55 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
60 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
67 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
85 …else if (std::isnan(testcases[i].real()) && (std::isfinite(testcases[i].imag()) || std::isnan(test… in test_edges()
Dacos.pass.cpp53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
59 …else if (std::isfinite(testcases[i].real()) && testcases[i].real() != 0 && std::isnan(testcases[i]… in test_edges()
64 …else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isfinite(testcases[i].… in test_edges()
70 …else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isfinite(testcases[i].… in test_edges()
94 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dsinh.pass.cpp53 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
63 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
75 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dasin.pass.cpp47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
60 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
65 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
89 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dasinh.pass.cpp56 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
65 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
70 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Datanh.pass.cpp60 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
69 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
74 else if (std::isinf(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
98 else if (std::isnan(testcases[i].real()) && std::isfinite(testcases[i].imag())) in test_edges()
Dexp.pass.cpp47 else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag())) in test_edges()
52 else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag())) in test_edges()
100 else if (std::isfinite(testcases[i].imag()) && std::abs(testcases[i].imag()) <= 1) in test_edges()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_isfinite.cc19 REGISTER3(UnaryOp, CPU, "IsFinite", functor::isfinite, float, Eigen::half,
23 REGISTER3(UnaryOp, GPU, "IsFinite", functor::isfinite, float, Eigen::half,
28 REGISTER2(UnaryOp, SYCL, "IsFinite", functor::isfinite, float, double);
Din_topk_op.h75 !std::isfinite(predictions(batch_idx, target));
83 if (!std::isfinite(pred)) {
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py88 is_finite = np.isfinite(x)
174 self.assertTrue(np.isfinite(actual).all())
200 self.assertTrue(np.isfinite(actual).all())
285 self.assert_all_true(np.isfinite(output_))
286 self.assert_all_true(np.isfinite(grad_output_[0]))
310 self.assert_all_true(np.isfinite(grad_eval))
327 self.assert_all_true(np.isfinite(grad_eval))
411 self.assertAllTrue(np.isfinite(actual))
463 self.assertAllTrue(np.isfinite(actual_))
464 self.assertAllTrue(np.isfinite(grad_))
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp456 (sourceRect->width() == 0.0f || !std::isfinite(sourceRect->width()) || in stretchRect()
457 sourceRect->height() == 0.0f || !std::isfinite(sourceRect->height()) || in stretchRect()
546 !std::isfinite(sRect.width()) || !std::isfinite(sRect.height())) in stretchRect()
894 if (!std::isfinite(rect->x0) || !std::isfinite(rect->x1) || in validRectangle()
895 !std::isfinite(rect->y0) || !std::isfinite(rect->y1)) in validRectangle()
908 if (!std::isfinite(offset)) in ClipDstRect()
925 if (!std::isfinite(offset)) in ClipDstRect()
942 if (!std::isfinite(offset)) in ClipDstRect()
959 if (!std::isfinite(offset)) in ClipDstRect()
982 if (!FloatFitsInInt(offsetf) || !std::isfinite(ratio)) in ClipSrcRect()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator_test.cc157 ASSERT_FALSE(std::isfinite(f)); in TEST()
178 ASSERT_FALSE(std::isfinite(f)); in TEST()
204 ASSERT_FALSE(std::isfinite(f)); in TEST()
225 ASSERT_FALSE(std::isfinite(f)); in TEST()
/external/angle/third_party/jsoncpp/source/src/lib_json/
Djson_writer.cpp26 #if !defined(isfinite)
27 #define isfinite std::isfinite macro
40 #if !defined(isfinite)
42 #define isfinite _finite macro
52 #if !defined(isfinite)
54 #define isfinite finite macro
59 #if !defined(isfinite)
61 #define isfinite(x) \ macro
73 #if !defined(isfinite)
74 #define isfinite finite macro
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorCostModel.h69 eigen_assert(bytes_loaded >= 0 && (numext::isfinite)(bytes_loaded)); in TensorOpCost()
70 eigen_assert(bytes_stored >= 0 && (numext::isfinite)(bytes_stored)); in TensorOpCost()
71 eigen_assert(compute_cycles >= 0 && (numext::isfinite)(compute_cycles)); in TensorOpCost()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtest_util.cc90 } while (!val || !std::isfinite(val) || val > max_val); in ExponentialRandomPositiveInt()
102 } while (!std::isfinite(val) || val > max_val); in ExponentialRandomPositiveFloat()

123456789