Home
last modified time | relevance | path

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

12345678910>>...15

/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcompatibility.inl8 // isfinite
10 GLM_FUNC_QUALIFIER bool isfinite( function
14 return std::isfinite(x) != 0;
28 GLM_FUNC_QUALIFIER tvec1<bool, P> isfinite( function
32 isfinite(x.x));
36 GLM_FUNC_QUALIFIER tvec2<bool, P> isfinite( function
40 isfinite(x.x),
41 isfinite(x.y));
45 GLM_FUNC_QUALIFIER tvec3<bool, P> isfinite( function
49 isfinite(x.x),
[all …]
Dcompatibility.hpp29 # undef isfinite
57 …template <typename genType> GLM_FUNC_DECL bool isfinite(genType const & x); //!< \brief …
58 …template <typename T, precision P> GLM_FUNC_DECL tvec1<bool, P> isfinite(const tvec1<T, P>& x); …
59 …template <typename T, precision P> GLM_FUNC_DECL tvec2<bool, P> isfinite(const tvec2<T, P>& x); …
60 …template <typename T, precision P> GLM_FUNC_DECL tvec3<bool, P> isfinite(const tvec3<T, P>& x); …
61 …template <typename T, precision P> GLM_FUNC_DECL tvec4<bool, P> isfinite(const tvec4<T, P>& x); …
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/c.math/
Disfinite.pass.cpp24 assert(std::isfinite(std::numeric_limits<T>::max())); in test()
25 assert(!std::isfinite(std::numeric_limits<T>::infinity())); in test()
26 assert(std::isfinite(std::numeric_limits<T>::min())); in test()
27 assert(std::isfinite(std::numeric_limits<T>::denorm_min())); in test()
28 assert(std::isfinite(std::numeric_limits<T>::lowest())); in test()
29 assert(!std::isfinite(-std::numeric_limits<T>::infinity())); in test()
30 assert(std::isfinite(T(0))); in test()
31 assert(!std::isfinite(std::numeric_limits<T>::quiet_NaN())); in test()
32 assert(!std::isfinite(std::numeric_limits<T>::signaling_NaN())); in test()
49 assert(std::isfinite(std::numeric_limits<T>::max())); in test()
[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/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/eigen/test/
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 if( (std::isfinite)(m(3))) g_test_level=1; VERIFY( !(numext::isfinite)(m(3)) ); g_test_level=0; in check_inf_nan()
49 if( (std::isfinite)(m(3))) g_test_level=1; VERIFY( !m.allFinite() ); g_test_level=0; in check_inf_nan()
56 …" << m(4) << ") = "; check((std::isfinite)(m(4)),false); std::cout << " ; numext::isfinite = "; c… in check_inf_nan()
65 … if( (std::isfinite)(m(3))) g_test_level=1; VERIFY( !(numext::isfinite)(m(4)) ); g_test_level=0; in check_inf_nan()
68 … if( (std::isfinite)(m(3))) g_test_level=1; VERIFY( !m.allFinite() ); g_test_level=0; in check_inf_nan()
74 …" << m(3) << ") = "; check((std::isfinite)(m(3)),true); std::cout << " ; numext::isfinite = "; ch… in check_inf_nan()
83 … if(!(std::isfinite)(m(3))) g_test_level=1; VERIFY( (numext::isfinite)(m(3)) ); g_test_level=0; in check_inf_nan()
86 … if( (std::isfinite)(m(3))) g_test_level=1; VERIFY( !m.allFinite() ); g_test_level=0; in check_inf_nan()
Dstable_norm.cpp93 VERIFY(!(numext::isfinite)( std::numeric_limits<RealScalar>::infinity())); in stable_norm()
94 VERIFY(!(numext::isfinite)(sqrt(-abs(big)))); in stable_norm()
97 VERIFY((numext::isfinite)(sqrt(size)*abs(big))); in stable_norm()
104 VERIFY((numext::isfinite)(sqrt(size)*abs(small))); in stable_norm()
127 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY((numext::isnan)(v.squaredNorm())); in stable_norm()
128 VERIFY(!(numext::isfinite)(v.norm())); VERIFY((numext::isnan)(v.norm())); in stable_norm()
129 VERIFY(!(numext::isfinite)(v.stableNorm())); VERIFY((numext::isnan)(v.stableNorm())); in stable_norm()
130 VERIFY(!(numext::isfinite)(v.blueNorm())); VERIFY((numext::isnan)(v.blueNorm())); in stable_norm()
131 VERIFY(!(numext::isfinite)(v.hypotNorm())); VERIFY((numext::isnan)(v.hypotNorm())); in stable_norm()
138 VERIFY(!(numext::isfinite)(v.squaredNorm())); VERIFY(isPlusInf(v.squaredNorm())); in stable_norm()
[all …]
/external/pigweed/pw_minimal_cpp_stdlib/public/internal/
Dcmath.h31 #ifdef isfinite
32 #undef isfinite
35 inline bool isfinite(float value) { return __builtin_isfinite(value); } in isfinite() function
36 inline bool isfinite(double value) { return __builtin_isfinite(value); } in isfinite() function
37 inline bool isfinite(long double value) { return __builtin_isfinite(value); } in isfinite() function
/external/cronet/buildtools/third_party/libc++/trunk/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()
/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()
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()
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()
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.isfinite.frag8 return !isnan(v) && isfinite(v);
13 isfinite(f);
14 isfinite(f2);
15 isfinite(f3);
/external/deqp-deps/glslang/Test/
Dhlsl.isfinite.frag8 return !isnan(v) && isfinite(v);
13 isfinite(f);
14 isfinite(f2);
15 isfinite(f3);
/external/pigweed/pw_minimal_cpp_stdlib/public/
Dcmath31 #ifdef isfinite
32 #undef isfinite
33 #endif // isfinite
35 inline bool isfinite(float value) { return __builtin_isfinite(value); }
36 inline bool isfinite(double value) { return __builtin_isfinite(value); }
37 inline bool isfinite(long double value) { return __builtin_isfinite(value); }
/external/skia/src/base/
DSkCubics.cpp81 if (!std::isfinite(R2MinusQ3)) { in RootsReal()
183 if (!std::isfinite(left) || !std::isfinite(right)) { in binary_search()
210 if (!std::isfinite(A) || !std::isfinite(B) || !std::isfinite(C) || !std::isfinite(D)) { in BinarySearchRootsValidT()
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/diagnostics/
Dmath_nodiscard_extensions.verify.cpp51 …std::isfinite(0.f); // expected-warning {{ignoring return value of function declared wi… in test()
52 …std::isfinite(0.); // expected-warning {{ignoring return value of function declared wi… in test()
53 …std::isfinite(0.l); // expected-warning {{ignoring return value of function declared wi… in test()
54 …std::isfinite(0); // expected-warning {{ignoring return value of function declared wi… in test()
55 …std::isfinite(0U); // expected-warning {{ignoring return value of function declared wi… in test()
/external/ComputeLibrary/support/
DToolchainSupport.h298 inline bool isfinite(T value) in isfinite() function
300 return std::isfinite(static_cast<double>(value)); in isfinite()
303 inline bool isfinite(half_float::half value) in isfinite() function
305 return half_float::isfinite(value); in isfinite()
308 inline bool isfinite(bfloat16 value) in isfinite() function
310 return std::isfinite(float(value)); in isfinite()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dspecial_math_test.py84 is_finite = np.isfinite(x)
170 self.assertTrue(np.isfinite(actual).all())
196 self.assertTrue(np.isfinite(actual).all())
281 self.assert_all_true(np.isfinite(output_))
282 self.assert_all_true(np.isfinite(grad_output_[0]))
306 self.assert_all_true(np.isfinite(grad_eval))
323 self.assert_all_true(np.isfinite(grad_eval))
407 self.assertAllTrue(np.isfinite(actual))
459 self.assertAllTrue(np.isfinite(actual_))
460 self.assertAllTrue(np.isfinite(grad_))
[all …]
/external/skia/modules/audioplayer/
DSkAudioPlayer.cpp16 if (!std::isfinite(t)) { in setTime()
39 if (!std::isfinite(r)) { in setRate()
50 if (!std::isfinite(v)) { in setVolume()
/external/skia/fuzz/
DFuzzCubicQuadRoots.cpp22 SkASSERT_RELEASE(std::isfinite(roots[i])); in fuzz_quad_real_roots()
41 SkASSERT_RELEASE(std::isfinite(roots[i])); in fuzz_cubic_real_roots()
58 SkASSERT_RELEASE(std::isfinite(roots[i])); in fuzz_cubic_roots_valid_t()
77 SkASSERT_RELEASE(std::isfinite(roots[i])); in fuzz_cubic_roots_binary_search()

12345678910>>...15