/third_party/rust/crates/minimal-lexical/tests/ |
D | libm_tests.rs | 19 assert!(libm::fabsf(f32::NAN).is_nan()); in fabsf_spec_test() 38 assert!(libm::sqrtf(-1.0).is_nan()); in sqrtf_spec_test() 39 assert!(libm::sqrtf(f32::NAN).is_nan()); in sqrtf_spec_test() 84 if expected.is_nan() { in powd() 85 res.is_nan() in powd() 112 if exp.is_nan() { in powd_test_sets() 113 res.is_nan() in powd_test_sets() 252 assert!(libm::powd(-1.0, 2.2).is_nan()); in normal_cases() 253 assert!(libm::powd(-1.0, -1.14).is_nan()); in normal_cases() 265 assert!(libm::fabsd(f64::NAN).is_nan()); in fabsd_spec_test() [all …]
|
/third_party/rust/crates/num-traits/src/ |
D | float.rs | 174 fn is_nan(self) -> bool { in is_nan() method 222 !(self.is_nan() || self.is_infinite()) in is_finite() 297 if f.is_nan() || f.is_zero() { in floor() 331 if f.is_nan() || f.is_zero() { in ceil() 366 if f.is_nan() || f.is_zero() { in round() 408 if f.is_nan() { in trunc() 502 if self.is_nan() { in signum() 587 if self.is_nan() { in min() 590 if other.is_nan() { in min() 621 if self.is_nan() { in max() [all …]
|
D | lib.rs | 474 assert!(clamp(::core::f32::NAN, -1.0, 1.0).is_nan()); in clamp_test() 475 assert!(clamp_min(::core::f32::NAN, 1.0).is_nan()); in clamp_test() 476 assert!(clamp_max(::core::f32::NAN, 1.0).is_nan()); in clamp_test() 552 assert!(f32::from_str_radix("nAn", 4).unwrap().is_nan()); in from_str_radix_ignore_case() 553 assert!(f32::from_str_radix("-nAn", 4).unwrap().is_nan()); in from_str_radix_ignore_case()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
D | to_toml.py | 67 def is_nan(self): member in FloatMixin 155 self.assertFalse(float32.is_nan()) 158 self.assertTrue(float32.is_nan()) 161 self.assertFalse(float32.is_nan()) 216 self.assertFalse(float64.is_nan()) 219 self.assertTrue(float64.is_nan()) 222 self.assertFalse(float64.is_nan())
|
/third_party/flutter/skia/src/utils/ |
D | SkFloatUtils.h | 99 bool is_nan() const { 115 if (is_nan() || rhs.is_nan()) return false;
|
/third_party/skia/src/utils/ |
D | SkFloatUtils.h | 99 bool is_nan() const { 115 if (is_nan() || rhs.is_nan()) return false;
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_float.c | 153 LLVMValueRef infcheck_src, is_inf, is_nan; in lp_build_float_to_smallfloat() local 163 is_nan = lp_build_compare(gallivm, i32_type, PIPE_FUNC_GREATER, in lp_build_float_to_smallfloat() 167 is_nan_or_inf = lp_build_or(&i32_bld, is_nan, is_inf); in lp_build_float_to_smallfloat() 172 lp_build_and(&i32_bld, is_nan, i32_qnanbit)); in lp_build_float_to_smallfloat()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | GPBJsonWire.php | 175 if (is_nan($value)) { 187 if (is_nan($value)) {
|
D | Message.php | 1704 if (is_nan($value)) { 1715 if (is_nan($value)) {
|
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/env/ |
D | field.rs | 66 debug_assert!(!a.is_nan()); in eq() 67 debug_assert!(!b.is_nan()); in eq() 223 if v.is_nan() { in value_match_f64() 506 Some((ValueMatch::NaN, ref matched)) if value.is_nan() => { in record_f64()
|
/third_party/python/Modules/_decimal/tests/ |
D | deccheck.py | 479 if t.rc.is_nan() or t.rp.is_nan(): 544 if t.cop[0].is_nan() and t.pop[0].is_nan(): 553 if t.rc.is_nan() and t.rp.is_nan(): 562 if t.rc is None and t.rp.is_nan(): 670 return a.is_nan()
|
/third_party/rust/crates/tracing/tracing-mock/src/ |
D | field.rs | 41 debug_assert!(!a.is_nan()); in eq() 42 debug_assert!(!b.is_nan()); in eq()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-number.c | 225 bool is_nan = (num != num); in ecma_number_is_nan() local 235 JERRY_ASSERT (is_nan == is_nan_ieee754); in ecma_number_is_nan() 238 return is_nan; in ecma_number_is_nan()
|
/third_party/glslang/SPIRV/ |
D | hex_float.h | 596 bool is_nan = 599 !is_nan && 610 if (is_nan) {
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | hex_float.h | 594 bool is_nan = 597 !is_nan && 608 if (is_nan) {
|
/third_party/spirv-tools/source/util/ |
D | hex_float.h | 666 bool is_nan = 669 !is_nan && 680 if (is_nan) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 666 bool is_nan = 669 !is_nan && 680 if (is_nan) {
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | hex_float.h | 666 bool is_nan = 669 !is_nan && 680 if (is_nan) {
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 322 bool is_nan() const { in is_nan() function 337 if (is_nan() || rhs.is_nan()) return false; in AlmostEquals()
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | helpers.rs | 267 if f.is_nan() { in float_expr()
|
/third_party/python/Lib/ |
D | _pydecimal.py | 953 elif self.is_nan(): 991 if self.is_nan(): 1886 if self.is_nan(): 1901 if self.is_nan(): 1916 if self.is_nan(): 2608 return (self.is_nan() and other.is_nan() or 3131 def is_nan(self): member in Decimal 4536 def is_nan(self, a): member in Context 4550 return a.is_nan()
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 334 bool is_nan() const { in is_nan() function 349 if (is_nan() || rhs.is_nan()) return false; in AlmostEquals()
|
/third_party/python/Lib/test/ |
D | test_decimal.py | 2749 self.assertRaises(TypeError, D(1).is_nan, context=xc) 3167 d = c.is_nan(Decimal(10)) 3168 self.assertEqual(c.is_nan(10), d) 3169 self.assertRaises(TypeError, c.is_nan, '10') 4342 self.assertIs(Decimal("NaN").fma(7, 1).is_nan(), True) 4416 self.assertTrue(q.is_nan() and r.is_nan()) 4420 self.assertTrue(q.is_nan() and r.is_nan()) 4425 self.assertTrue(q.is_nan() and r.is_nan()) 4430 self.assertTrue(q.is_infinite() and r.is_nan()) 4435 self.assertTrue(q.is_nan() and r.is_nan()) [all …]
|
/third_party/rust/crates/num-traits/tests/ |
D | cast.rs | 33 assert!((f64::NAN).to_f32().map_or(false, |f| f.is_nan())); in to_primitive_float()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 524 struct is_nan { struct 529 inline cstfp_pred_ty<is_nan> m_NaN() { in m_NaN() argument 530 return cstfp_pred_ty<is_nan>(); in m_NaN()
|