Home
last modified time | relevance | path

Searched refs:is_finite (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_range_analysis.c49 return (void *)(uintptr_t)(r.range | r.is_integral << 8 | r.is_finite << 9 | in pack_data()
61 .is_finite = (v & 0x00200) != 0, in unpack_data()
129 r.is_finite = true; in analyze_constant()
142 r.is_finite = false; in analyze_constant()
606 r.is_finite = left.is_finite && right.is_finite; in analyze_expression()
618 r.is_finite = true; in analyze_expression()
661 (left.is_finite || right.is_finite); in analyze_expression()
684 r.is_finite = false; in analyze_expression()
702 r.is_finite = left.is_finite && right.is_finite; in analyze_expression()
788 r.is_finite = left.is_finite && right.is_finite; in analyze_expression()
[all …]
Dnir_range_analysis.h47 bool is_finite; member
Dnir_search_helpers.h493 is_finite(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_finite() function
499 return v.is_finite; in is_finite()
509 return v.is_finite && in is_finite_not_zero()
/third_party/flutter/skia/tests/
DFloat16Test.cpp23 static bool is_finite(uint16_t h) { in is_finite() function
29 if (!is_finite(h)) { in DEF_TEST()
56 if (!is_finite(expected)) {
/third_party/skia/tests/
DFloat16Test.cpp23 static bool is_finite(uint16_t h) { in is_finite() function
29 if (!is_finite(h)) { in DEF_TEST()
56 if (!is_finite(expected)) {
/third_party/flutter/skia/src/core/
DSkEdgeBuilder.cpp310 bool is_finite = true; in build() local
316 auto apply_clipper = [this, &clipper, &is_finite] { in build()
323 is_finite = false; in build()
418 return is_finite ? fList.count() : 0; in build()
DSkColorSpaceXformSteps.cpp109 auto is_finite = [](float x) { return x*0 == 0; }; in apply() local
111 float invA = is_finite(1.0f / rgba[3]) ? 1.0f / rgba[3] : 0; in apply()
DSkScan_Hairline.cpp382 Sk2x32 is_finite(~0); // start out as true in hair_cubic() local
386 is_finite &= sk2s_is_finite(p); in hair_cubic()
389 if (is_finite.allTrue()) { in hair_cubic()
/third_party/rust/crates/num-traits/src/
Dfloat.rs221 fn is_finite(self) -> bool { in is_finite() method
814 Self::is_finite(self) -> bool;
917 Self::is_finite(self) -> bool;
1119 fn is_finite(self) -> bool; in is_finite() method
1926 Self::is_finite(self) -> bool;
2014 FloatCore::is_finite(self) -> bool;
/third_party/skia/src/core/
DSkEdgeBuilder.cpp292 bool is_finite = true; in build() local
322 is_finite = rec.fIsFinite; in build()
360 return is_finite ? fList.count() : 0; in build()
DSkColorSpaceXformSteps.cpp99 auto is_finite = [](float x) { return x*0 == 0; }; in apply() local
102 invA = is_finite(invA) ? invA : 0; in apply()
DSkScan_Hairline.cpp391 Sk2x32 is_finite(~0); // start out as true in hair_cubic() local
395 is_finite &= sk2s_is_finite(p); in hair_cubic()
398 if (is_finite.allTrue()) { in hair_cubic()
DSkVM.h1234 SI I32 is_finite(F32 x) { return x->is_finite(x); } in is_finite() function
DSkVM.cpp1535 return select(is_finite(scaled), scaled, 0.0f); in set_sat()
1686 select(is_finite(burn), burn in blend()
1696 select(is_finite(dodge), dodge in blend()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Drand-f64.rs25 if x.is_finite() { in main()
/third_party/rust/crates/minimal-lexical/etc/correctness/rng-tests/
Dsmoke.rs20 if input.is_finite() { in main()
/third_party/rust/crates/proc-macro2/src/
Dlib.rs1158 assert!(f.is_finite()); in f64_unsuffixed()
1176 assert!(f.is_finite()); in f64_suffixed()
1194 assert!(f.is_finite()); in f32_unsuffixed()
1212 assert!(f.is_finite()); in f32_suffixed()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c141 bool is_finite = !(ecma_number_is_nan (arg_num) in ecma_builtin_global_object_is_finite() local
144 return ecma_make_boolean_value (is_finite); in ecma_builtin_global_object_is_finite()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
Dmain.rs216 if float.is_finite() { in run_test()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dhelpers.rs259 if f.is_finite() { in float_expr()
/third_party/rust/crates/syn/src/
Dlit.rs1573 let f64_parse_finite = || digits.parse().ok().filter(|x: &f64| x.is_finite()); in to_literal()
1574 let f32_parse_finite = || digits.parse().ok().filter(|x: &f32| x.is_finite()); in to_literal()
/third_party/python/Lib/
Dstatistics.py204 return x.is_finite() # Likely a Decimal.
D_pydecimal.py3119 def is_finite(self): member in Decimal
4499 def is_finite(self, a): member in Context
4519 return a.is_finite()
/third_party/python/Lib/test/
Dtest_decimal.py2747 self.assertRaises(TypeError, D(1).is_finite, context=xc)
3149 d = c.is_finite(Decimal(10))
3150 self.assertEqual(c.is_finite(10), d)
3151 self.assertRaises(TypeError, c.is_finite, '10')
4382 self.assertTrue(Decimal("1").is_finite())
4383 self.assertTrue(Decimal("1").is_finite())
/third_party/python/Doc/library/
Ddecimal.rst614 .. method:: is_finite()
1208 .. method:: is_finite(x)

12