Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/skia/third_party/externals/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); …
/third_party/python/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 …]
/third_party/mindspore/tests/st/ops/ascend/test_aicpu_ops/
Dtest_is_finite.py28 self.isfinite = P.IsFinite()
31 return self.isfinite(tensor)
39 assert np.all(output.asnumpy() == np.isfinite(x))
47 assert np.all(output.asnumpy() == np.isfinite(x))
55 assert np.all(output.asnumpy() == np.isfinite(x))
63 assert np.all(output.asnumpy() == np.isfinite(x))
71 assert np.all(output.asnumpy() == np.isfinite(x))
79 assert np.all(output.asnumpy() == np.isfinite(x))
87 assert np.all(output.asnumpy() == np.isfinite(x))
95 assert np.all(output.asnumpy() == np.isfinite(x))
[all …]
/third_party/boost/libs/math/test/
Dtest_classify.cpp67 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify()
68 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify()
80 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify()
81 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify()
92 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify()
99 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify()
114 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify()
115 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify()
128 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test_classify()
129 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test_classify()
[all …]
/third_party/boost/boost/math/distributions/
Dfind_location.hpp50 if(!(boost::math::isfinite)(p) || (p < 0) || (p > 1)) in find_location()
55 if(!(boost::math::isfinite)(z)) in find_location()
60 if(!(boost::math::isfinite)(scale)) in find_location()
92 if(!(boost::math::isfinite)(p) || (p < 0) || (p > 1)) in find_location()
98 if(!(boost::math::isfinite)(z)) in find_location()
104 if(!(boost::math::isfinite)(scale)) in find_location()
121 if(!(boost::math::isfinite)(p) || (p < 0) || (p > 1)) in find_location()
127 if(!(boost::math::isfinite)(z)) in find_location()
133 if(!(boost::math::isfinite)(scale)) in find_location()
Dfind_scale.hpp48 if(!(boost::math::isfinite)(p) || (p < 0) || (p > 1)) in find_scale()
53 if(!(boost::math::isfinite)(z)) in find_scale()
58 if(!(boost::math::isfinite)(location)) in find_scale()
123 if(!(boost::math::isfinite)(q) || (q < 0) || (q > 1)) in find_scale()
129 if(!(boost::math::isfinite)(z)) in find_scale()
135 if(!(boost::math::isfinite)(location)) in find_scale()
177 if(!(boost::math::isfinite)(q) || (q < 0) || (q > 1)) in find_scale()
183 if(!(boost::math::isfinite)(z)) in find_scale()
189 if(!(boost::math::isfinite)(location)) in find_scale()
Dinverse_gamma.hpp48 if((shape < 0) || !(boost::math::isfinite)(shape)) in check_inverse_gamma_shape()
64 if((x < 0) || !(boost::math::isfinite)(x)) in check_inverse_gamma_x()
314 if((shape <= 1) || !(boost::math::isfinite)(shape)) in mean()
340 if((shape <= 2) || !(boost::math::isfinite)(shape)) in variance()
393 if((shape <= 3) || !(boost::math::isfinite)(shape)) in skewness()
419 if((shape <= 4) || !(boost::math::isfinite)(shape)) in kurtosis_excess()
443 if((shape <= 4) || !(boost::math::isfinite)(shape)) in kurtosis()
/third_party/boost/boost/math/distributions/detail/
Dcommon_error_handling.hpp28 if((prob < 0) || (prob > 1) || !(boost::math::isfinite)(prob)) in check_probability()
41 if((df <= 0) || !(boost::math::isfinite)(df)) in check_df()
72 if((scale <= 0) || !(boost::math::isfinite)(scale)) in check_scale()
89 if(!(boost::math::isfinite)(location)) in check_location()
110 if(!(boost::math::isfinite)(x)) in check_x()
168 if(!(boost::math::isfinite)(x) || (x < 0)) in check_positive_x()
188 if((ncp < 0) || !(boost::math::isfinite)(ncp)) in check_non_centrality()
205 if(!(boost::math::isfinite)(x)) in check_finite()
/third_party/boost/libs/multiprecision/test/
Dtest_fpclassify.cpp98 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test()
99 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test()
112 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test()
113 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test()
124 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test()
125 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test()
142 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test()
143 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test()
157 BOOST_CHECK_EQUAL((::boost::math::isfinite)(t), true); in test()
158 BOOST_CHECK_EQUAL((::boost::math::isfinite)(-t), true); in test()
[all …]
Dtest_mpfi.cpp29 BOOST_CHECK((boost::math::isfinite)(in)); in test_exp()
35 BOOST_CHECK((boost::math::isfinite)(in)); in test_exp()
47 BOOST_CHECK((boost::math::isfinite)(in)); in test_exp()
53 BOOST_CHECK((boost::math::isfinite)(in)); in test_exp()
80 BOOST_CHECK((boost::math::isfinite)(ri)); in test_pow()
102 BOOST_CHECK((boost::math::isfinite)(b2)); in test_trig()
107 BOOST_CHECK((boost::math::isfinite)(b2)); in test_trig()
112 BOOST_CHECK((boost::math::isfinite)(b2)); in test_trig()
124 BOOST_CHECK((boost::math::isfinite)(b2)); in test_trig()
129 BOOST_CHECK((boost::math::isfinite)(b2)); in test_trig()
[all …]
/third_party/glslang/Test/
Dhlsl.isfinite.frag8 return !isnan(v) && isfinite(v);
13 isfinite(f);
14 isfinite(f2);
15 isfinite(f3);
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/isFinite/
D426f9f.wgsl.expected.glsl7 bool res = isfinite(1.0f);
34 ERROR: 0:5: 'isfinite' : no matching overloaded function found
45 bool res = isfinite(1.0f);
62 ERROR: 0:5: 'isfinite' : no matching overloaded function found
73 bool res = isfinite(1.0f);
91 ERROR: 0:5: 'isfinite' : no matching overloaded function found
Df31987.wgsl.expected.glsl7 bvec4 res = isfinite(vec4(0.0f, 0.0f, 0.0f, 0.0f));
34 ERROR: 0:5: 'isfinite' : no matching overloaded function found
45 bvec4 res = isfinite(vec4(0.0f, 0.0f, 0.0f, 0.0f));
62 ERROR: 0:5: 'isfinite' : no matching overloaded function found
73 bvec4 res = isfinite(vec4(0.0f, 0.0f, 0.0f, 0.0f));
91 ERROR: 0:5: 'isfinite' : no matching overloaded function found
D34d32b.wgsl.expected.glsl7 bvec2 res = isfinite(vec2(0.0f, 0.0f));
34 ERROR: 0:5: 'isfinite' : no matching overloaded function found
45 bvec2 res = isfinite(vec2(0.0f, 0.0f));
62 ERROR: 0:5: 'isfinite' : no matching overloaded function found
73 bvec2 res = isfinite(vec2(0.0f, 0.0f));
91 ERROR: 0:5: 'isfinite' : no matching overloaded function found
D8a23ad.wgsl.expected.glsl7 bvec3 res = isfinite(vec3(0.0f, 0.0f, 0.0f));
34 ERROR: 0:5: 'isfinite' : no matching overloaded function found
45 bvec3 res = isfinite(vec3(0.0f, 0.0f, 0.0f));
62 ERROR: 0:5: 'isfinite' : no matching overloaded function found
73 bvec3 res = isfinite(vec3(0.0f, 0.0f, 0.0f));
91 ERROR: 0:5: 'isfinite' : no matching overloaded function found
/third_party/boost/libs/random/test/
Dmultiprecision_float_test.cpp51 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
112 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
123 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
133 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
144 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
161 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE()
171 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE()
182 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE()
192 BOOST_CHECK((boost::math::isfinite)(r)); in BOOST_AUTO_TEST_CASE()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DSampler.cpp30 if (!std::isfinite(descriptor->lodMinClamp) || !std::isfinite(descriptor->lodMaxClamp)) { in ValidateSamplerDescriptor()
108 ASSERT(std::isfinite(a->mLodMinClamp)); in operator ()()
109 ASSERT(std::isfinite(b->mLodMinClamp)); in operator ()()
110 ASSERT(std::isfinite(a->mLodMaxClamp)); in operator ()()
111 ASSERT(std::isfinite(b->mLodMaxClamp)); in operator ()()
/third_party/musl/libc-test/src/math/
Dfpclassify.c101 if (!!isfinite(tf[i].f) != (tf[i].class > FP_INFINITE)) in main()
102 error(tf[i], isfinite); in main()
114 if (!!isfinite(td[i].f) != (td[i].class > FP_INFINITE)) in main()
115 error(td[i], isfinite); in main()
127 if (!!isfinite(tl[i].f) != (tl[i].class > FP_INFINITE)) in main()
128 error(tl[i], isfinite); in main()
/third_party/boost/libs/math/test/compile_test/
Dsf_fpclassify_incl_test.cpp24 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<float>(f)); in compile_and_link_test()
25 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<double>(d)); in compile_and_link_test()
27 check_result<bool>(boost::math::isfinite BOOST_NO_MACRO_EXPAND<long double>(l)); in compile_and_link_test()
Dpoison.hpp74 #ifdef isfinite
75 #undef isfinite
78 #define isfinite(x) this_should_not_compile(x)}}}}}}}}}}}}}}}}}}} macro
/third_party/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()
/third_party/boost/libs/compute/test/
Dtest_any_all_none_of.cpp50 using ::boost::compute::lambda::isfinite; in BOOST_AUTO_TEST_CASE()
61 isfinite(_1), queue) == true); in BOOST_AUTO_TEST_CASE()
63 isfinite(_1), queue) == false); in BOOST_AUTO_TEST_CASE()
65 isfinite(_1), queue) == true); in BOOST_AUTO_TEST_CASE()
/third_party/skia/third_party/externals/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 …]
/third_party/boost/boost/math/tools/
Dnorms.hpp169 if (!isfinite(result)) in l2_norm()
195 if (!isfinite(result)) in l2_norm()
275 using std::isfinite; in lp_norm()
288 if (!isfinite(result)) in lp_norm()
311 if (!isfinite(result)) in lp_norm()
333 if (!isfinite(result)) in lp_norm()
361 using std::isfinite; in lp_distance()
416 using std::isfinite; in l1_distance()
490 using std::isfinite; in l2_distance()
563 using std::isfinite; in sup_distance()

12345678910>>...13