Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 25 of 685) sorted by relevance

12345678910>>...28

/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/asm/comp/
Dnmin-max-clamp.asm.comp22 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : min(_4.b1, _4.c1));
23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
26 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : max(_4.b1, _4.c1));
27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
30 float _180 = isnan(_4.b1) ? _4.a1 : (isnan(_4.a1) ? _4.b1 : max(_4.a1, _4.b1));
31 _4.a1 = isnan(_4.c1) ? _180 : (isnan(_180) ? _4.c1 : min(_180, _4.c1));
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/comp/
Dnmin-max-clamp.asm.comp22 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : min(_4.b1, _4.c1));
23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
26 _4.a1 = isnan(_4.c1) ? _4.b1 : (isnan(_4.b1) ? _4.c1 : max(_4.b1, _4.c1));
27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
30 float _179 = isnan(_4.b1) ? _4.a1 : (isnan(_4.a1) ? _4.b1 : max(_4.a1, _4.b1));
31 _4.a1 = isnan(_4.c1) ? _179 : (isnan(_179) ? _4.c1 : min(_179, _4.c1));
[all …]
/third_party/boost/boost/units/detail/
Dcmath_impl.hpp24 if((boost::math::isnan)(v1) || (boost::math::isnan)(v2)) return false; in BOOST_PREVENT_MACRO_SUBSTITUTION()
31 if((boost::math::isnan)(v1) || (boost::math::isnan)(v2)) return false; in BOOST_PREVENT_MACRO_SUBSTITUTION()
38 if((boost::math::isnan)(v1) || (boost::math::isnan)(v2)) return false; in BOOST_PREVENT_MACRO_SUBSTITUTION()
45 if((boost::math::isnan)(v1) || (boost::math::isnan)(v2)) return false; in BOOST_PREVENT_MACRO_SUBSTITUTION()
52 if((boost::math::isnan)(v1) || (boost::math::isnan)(v2)) return false; in BOOST_PREVENT_MACRO_SUBSTITUTION()
59 return (boost::math::isnan)(v1) || (boost::math::isnan)(v2); in BOOST_PREVENT_MACRO_SUBSTITUTION()
65 if((boost::math::isnan)(v1)) return v1; in BOOST_PREVENT_MACRO_SUBSTITUTION()
66 else if((boost::math::isnan)(v2)) return v2; in BOOST_PREVENT_MACRO_SUBSTITUTION()
93 if((boost::math::isnan)(v1)) return(v2); in BOOST_PREVENT_MACRO_SUBSTITUTION()
94 else if((boost::math::isnan)(v2)) return(v1); in BOOST_PREVENT_MACRO_SUBSTITUTION()
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl/asm/comp/
Dnmin-max-clamp.asm.comp5 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)…
6 bool2 _145 = isnan(asfloat(_4.Load2(56)));
7 bool2 _146 = isnan(asfloat(_4.Load2(104)));
11 bool3 _150 = isnan(asfloat(_4.Load3(64)));
12 bool3 _151 = isnan(asfloat(_4.Load3(112)));
16 bool4 _155 = isnan(asfloat(_4.Load4(80)));
17 bool4 _156 = isnan(asfloat(_4.Load4(128)));
21 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)…
22 bool2 _165 = isnan(asfloat(_4.Load2(56)));
23 bool2 _166 = isnan(asfloat(_4.Load2(104)));
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-hlsl/asm/comp/
Dnmin-max-clamp.asm.comp5 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)…
6 bool2 _146 = isnan(asfloat(_4.Load2(56)));
7 bool2 _147 = isnan(asfloat(_4.Load2(104)));
11 bool3 _151 = isnan(asfloat(_4.Load3(64)));
12 bool3 _152 = isnan(asfloat(_4.Load3(112)));
16 bool4 _156 = isnan(asfloat(_4.Load4(80)));
17 bool4 _157 = isnan(asfloat(_4.Load4(128)));
21 …_4.Store(0, asuint(isnan(asfloat(_4.Load(96))) ? asfloat(_4.Load(48)) : (isnan(asfloat(_4.Load(48)…
22 bool2 _166 = isnan(asfloat(_4.Load2(56)));
23 bool2 _167 = isnan(asfloat(_4.Load2(104)));
[all …]
/third_party/skia/tests/sksl/intrinsics/
DIsNan.glsl9isnan(valueIsNaN.x) && all(isnan(valueIsNaN.xy))) && all(isnan(valueIsNaN.xyz))) && all(isnan(valu…
DIsNan.metal19isnan(float(valueIsNaN.x)) && all(isnan(float2(valueIsNaN.xy)))) && all(isnan(float3(valueIsNaN.xy…
/third_party/python/Lib/test/decimaltestdata/
Dextra.decTest879 bool0630 isnan 0E-2000 -> 0
880 bool0631 isnan -0E-2000 -> 0
881 bool0632 isnan 0E-1008 -> 0
882 bool0633 isnan -0E-1008 -> 0
883 bool0634 isnan 0E-1007 -> 0
884 bool0635 isnan -0E-1007 -> 0
885 bool0636 isnan 0E-1006 -> 0
886 bool0637 isnan -0E-1006 -> 0
887 bool0638 isnan 0E-1000 -> 0
888 bool0639 isnan -0E-1000 -> 0
[all …]
/third_party/skia/resources/sksl/intrinsics/
DIsNan.sksl10 return ( (isnan(valueIsNaN.x)) &&
11 all(isnan(valueIsNaN.xy)) &&
12 all(isnan(valueIsNaN.xyz)) &&
13 all(isnan(valueIsNaN.xyzw)) &&
14 ! (isnan(valueIsNumber.x)) &&
15 !any(isnan(valueIsNumber.xy)) &&
16 !any(isnan(valueIsNumber.xyz)) &&
17 !any(isnan(valueIsNumber.xyzw))) ? colorGreen : colorRed;
/third_party/boost/libs/math/test/
Dtest_arcsine.cpp101 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(0, 1), std::numeric_limits<RealType>::in… in test_ignore_policy()
102 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(-1, 1), std::numeric_limits<RealType>::i… in test_ignore_policy()
103 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(0, 1), static_cast <RealType>(-2)))); /… in test_ignore_policy()
104 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(-1, 1), static_cast <RealType>(-2)))); … in test_ignore_policy()
105 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(0, 1), static_cast <RealType>(+2)))); /… in test_ignore_policy()
106 …BOOST_CHECK((boost::math::isnan)(pdf(ignore_error_arcsine(-1, 1), static_cast <RealType>(+2)))); /… in test_ignore_policy()
109 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_arcsine(-nan, 0)))); in test_ignore_policy()
110 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_arcsine(+nan, 0)))); in test_ignore_policy()
120 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_arcsine(2, nan)))); in test_ignore_policy()
121 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_arcsine(nan, nan)))); in test_ignore_policy()
[all …]
Dtest_legacy_nonfinite.cpp46 using boost::math::isnan;
133 BOOST_CHECK((isnan)(b1)); in legacy_test_nan_impl()
134 BOOST_CHECK((isnan)(b2)); in legacy_test_nan_impl()
135 BOOST_CHECK((isnan)(b3)); in legacy_test_nan_impl()
136 BOOST_CHECK((isnan)(b4)); in legacy_test_nan_impl()
137 BOOST_CHECK((isnan)(b5)); in legacy_test_nan_impl()
138 BOOST_CHECK((isnan)(b6)); in legacy_test_nan_impl()
139 BOOST_CHECK((isnan)(b7)); in legacy_test_nan_impl()
140 BOOST_CHECK((isnan)(b8)); in legacy_test_nan_impl()
141 BOOST_CHECK((isnan)(b9)); in legacy_test_nan_impl()
[all …]
Dtest_classify.cpp71 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify()
72 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify()
84 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify()
85 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify()
94 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify()
102 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify()
118 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify()
119 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify()
132 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test_classify()
133 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test_classify()
[all …]
Dcomplex_test.cpp80 if((boost::math::isnan)(a.real())) in check_complex()
84 if((boost::math::isnan)(a.imag())) in check_complex()
287 if((boost::math::isnan)(nan)) in check_spots()
314 BOOST_CHECK((boost::math::isnan)(result.imag())); in check_spots()
318 BOOST_CHECK((boost::math::isnan)(result.imag())); in check_spots()
334 BOOST_CHECK((boost::math::isnan)(result.real())); in check_spots()
335 BOOST_CHECK((boost::math::isnan)(result.imag())); in check_spots()
374 BOOST_CHECK((boost::math::isnan)(result.real())); in check_spots()
378 BOOST_CHECK((boost::math::isnan)(result.real())); in check_spots()
382 BOOST_CHECK((boost::math::isnan)(result.real())); in check_spots()
[all …]
Dtest_nc_t.hpp673 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(-nan, 0)))); in test_ignore_policy()
674 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(+nan, 0)))); in test_ignore_policy()
675 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(-1, 0)))); in test_ignore_policy()
676 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(0, 0)))); in test_ignore_policy()
677 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(1, 0)))); in test_ignore_policy()
678 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(2, nan)))); in test_ignore_policy()
679 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_non_central_t(nan, nan)))); in test_ignore_policy()
683 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_non_central_t(nan, 0)))); in test_ignore_policy()
684 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_non_central_t(1, nan)))); in test_ignore_policy()
685 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_non_central_t(2, nan)))); in test_ignore_policy()
[all …]
Dtest_students_t.cpp679 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_students_t(-1)))); in test_spots()
680 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_students_t(0)))); in test_spots()
681 BOOST_CHECK((boost::math::isnan)(mean(ignore_error_students_t(1)))); in test_spots()
684 …BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(std::numeric_limits<RealType>::q… in test_spots()
685 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(-1)))); in test_spots()
686 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(0)))); in test_spots()
687 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(1)))); in test_spots()
688 … BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(static_cast<RealType>(1.7L))))); in test_spots()
689 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(2)))); in test_spots()
692 …BOOST_CHECK((boost::math::isnan)(skewness(ignore_error_students_t(std::numeric_limits<RealType>::q… in test_spots()
[all …]
Dtest_archive.cpp40 using (boost::math::isnan)(;
92 BOOST_CHECK(((boost::math::isnan)()(a4));
94 BOOST_CHECK(((boost::math::isnan)()(a5));
100 BOOST_CHECK(((boost::math::isnan)()(a9));
102 BOOST_CHECK(((boost::math::isnan)()(a10));
119 BOOST_CHECK((isnan)(b4));
121 BOOST_CHECK((isnan)(b5));
126 BOOST_CHECK((isnan)(b9));
128 BOOST_CHECK((isnan)(b10));
Dtest_basic_nonfinite.cpp49 using boost::math::isnan;
200 …BOOST_CHECK((boost::math::isnan)(a1) && (boost::math::isnan)(a2) && (boost::math::isnan)(a3) && (b… in basic_test_nan_impl()
211 BOOST_CHECK((isnan)(b1)); in basic_test_nan_impl()
212 BOOST_CHECK((isnan)(b2)); in basic_test_nan_impl()
213 BOOST_CHECK((isnan)(b3)); in basic_test_nan_impl()
214 BOOST_CHECK((isnan)(b4)); in basic_test_nan_impl()
215 BOOST_CHECK((isnan)(b5)); in basic_test_nan_impl()
/third_party/python/Lib/test/
Dtest_cmath.py78 if math.isnan(x) or math.isnan(y):
79 if math.isnan(x) and math.isnan(y):
113 if math.isnan(a):
114 if math.isnan(b):
165 self.assertTrue(math.isnan(cmath.nan.real))
168 self.assertTrue(math.isnan(cmath.nanj.imag))
503 self.assertTrue(math.isnan(phase(z)))
516 self.assertTrue(math.isnan(abs(complex(NAN, -2.3))))
517 self.assertTrue(math.isnan(abs(complex(NAN, -0.0))))
518 self.assertTrue(math.isnan(abs(complex(NAN, 0.0))))
[all …]
Dtest_math.py200 if math.isnan(expected) and math.isnan(got):
267 self.assertTrue(math.isnan(math.acos(NAN)))
277 self.assertTrue(math.isnan(math.acosh(NAN)))
288 self.assertTrue(math.isnan(math.asin(NAN)))
297 self.assertTrue(math.isnan(math.asinh(NAN)))
306 self.assertTrue(math.isnan(math.atan(NAN)))
317 self.assertTrue(math.isnan(math.atanh(NAN)))
334 self.assertTrue(math.isnan(math.atan2(0., NAN)))
342 self.assertTrue(math.isnan(math.atan2(-0., NAN)))
350 self.assertTrue(math.isnan(math.atan2(INF, NAN)))
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_fpclassify.cpp102 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test()
103 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test()
116 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test()
117 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test()
128 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test()
129 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test()
146 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test()
147 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test()
161 BOOST_CHECK_EQUAL((::boost::math::isnan)(t), false); in test()
162 BOOST_CHECK_EQUAL((::boost::math::isnan)(-t), false); in test()
[all …]
/third_party/boost/boost/math/interpolators/
Dmakima.hpp27 using std::isnan; in makima()
43 if (isnan(left_endpoint_derivative)) in makima()
46 if (isnan(s[0])) in makima()
59 if (isnan(s[1])) { in makima()
71 if (isnan(s[i])) { in makima()
87 if (isnan(s[n-2])) { in makima()
95 if (isnan(right_endpoint_derivative)) in makima()
98 if (isnan(s[n-1])) { in makima()
126 using std::isnan; in push_back()
143 if (isnan(impl_->dydx_[i])) { in push_back()
[all …]
/third_party/boost/libs/math/doc/fp_utilities/
Dfpclassify.qbk21 bool isnan(T t); // NaN.
47 isnan(z);
52 (isnan)(z);
55 (boost::math::isnan)(z);
57 // This will cause a compiler error if isnan is a native macro:
58 boost::math::isnan(z);
60 (boost::math::isnan)(z);
64 using boost::math::isnan;
66 (isnan)(z)
67 // But, as above, if isnan is a native macro, this causes a compiler error,
[all …]
/third_party/musl/libc-test/src/common/
Dmtest.c44 if (isnan(got) && isnan(want)) in ulperrf()
60 if (isnan(got) && isnan(want)) in ulperr()
79 if (isnan(got) && isnan(want)) in ulperrl()
/third_party/boost/boost/math/special_functions/
Dfpclassify.hpp113 #ifdef isnan in is_nan_helper()
114 return isnan(t); in is_nan_helper()
138 inline bool is_nan_helper(__float128 f, const boost::true_type&) { return std::isnan(static_cast<do… in is_nan_helper()
139 inline bool is_nan_helper(__float128 f, const boost::false_type&) { return std::isnan(static_cast<d… in is_nan_helper()
141 inline bool is_nan_helper(__float128 f, const boost::true_type&) { return ::isnan(static_cast<doubl… in is_nan_helper()
142 inline bool is_nan_helper(__float128 f, const boost::false_type&) { return ::isnan(static_cast<doub… in is_nan_helper()
168 #elif defined(isnan) in BOOST_NO_MACRO_EXPAND()
552 return (std::isnan)(x); in isnan_impl()
606 inline bool (isnan)(T x)
614 #ifdef isnan
[all …]
/third_party/boost/boost/math/tools/
Dcondition_numbers.hpp85 using std::isnan; in evaluation_condition_number()
90 if (isnan(fx)) in evaluation_condition_number()
105 if (isnan(fp) || caught_exception) in evaluation_condition_number()
109 if (isnan(fp)) in evaluation_condition_number()
119 if (isnan(fp)) in evaluation_condition_number()

12345678910>>...28