Home
last modified time | relevance | path

Searched refs:is_nan (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/minimal-lexical/tests/
Dlibm_tests.rs19 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/minimal-lexical/etc/correctness/test-parse-unittests/
Dto_toml.py67 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/skia/src/utils/
DSkFloatUtils.h99 bool is_nan() const {
115 if (is_nan() || rhs.is_nan()) return false;
/third_party/vk-gl-cts/external/amber/src/src/
Dtokenizer.cc183 bool is_nan = in NextToken() local
188 if (!is_nan && !std::isdigit(tok_str[0]) && in NextToken()
214 if (!is_nan && tok_str.size() > 2 && tok_str[0] == '0' && tok_str[1] == 'x') { in NextToken()
221 if (is_nan) { in NextToken()
/third_party/node/deps/v8/src/objects/
Djs-relative-time-format.cc391 Handle<String> unit, bool is_nan) { in FormatToString() argument
415 bool is_nan) { in AddUnit() argument
422 Intl::NumberFieldToType(isolate, part, string, is_nan), in AddUnit()
429 Handle<String> unit, bool is_nan) { in FormatToJSArray() argument
463 is_nan); in FormatToJSArray()
469 unit, is_nan); in FormatToJSArray()
477 NumberFormatSpan(field, start, limit), unit, is_nan); in FormatToJSArray()
Djs-number-format.cc1849 bool style_is_unit, bool is_nan, bool output_source) { in ConstructParts() argument
1896 Intl::NumberFieldToType(isolate, part, formatted_text, is_nan); in ConstructParts()
2081 const icu::number::LocalizedNumberFormatter* nfmt, bool is_nan, in FormatToJSArray() argument
2090 isolate, formatted, result, 0, is_unit, is_nan, output_source); in FormatToJSArray()
2097 const icu::number::LocalizedNumberFormatter* nfmt, bool is_nan) { in FormatRangeToJSArray() argument
2098 return FormatToJSArray(isolate, formatted, nfmt, is_nan, true); in FormatRangeToJSArray()
Dintl-objects.h196 bool is_nan);
/third_party/node/deps/v8/src/utils/
Dboxed-float.h35 bool is_nan() const { in is_nan() function
74 bool is_nan() const { in is_nan() function
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c153 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/python/Modules/_decimal/tests/
Ddeccheck.py479 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/protobuf/php/src/Google/Protobuf/Internal/
DGPBJsonWire.php175 if (is_nan($value)) {
187 if (is_nan($value)) {
DMessage.php1704 if (is_nan($value)) {
1715 if (is_nan($value)) {
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-number.c225 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/
Dhex_float.h583 bool is_nan =
586 !is_nan &&
597 if (is_nan) {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h666 bool is_nan =
669 !is_nan &&
680 if (is_nan) {
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dhex_float.h666 bool is_nan =
669 !is_nan &&
680 if (is_nan) {
/third_party/spirv-tools/source/util/
Dhex_float.h667 bool is_nan =
670 !is_nan &&
681 if (is_nan) {
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h322 bool is_nan() const { in is_nan() function
337 if (is_nan() || rhs.is_nan()) return false; in AlmostEquals()
/third_party/python/Lib/
D_pydecimal.py953 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/rust/crates/bindgen/bindgen/codegen/
Dhelpers.rs267 if f.is_nan() { in float_expr()
/third_party/googletest/googletest/include/gtest/internal/
Dgtest-internal.h328 bool is_nan() const { in is_nan() function
343 if (is_nan() || rhs.is_nan()) return false; in AlmostEquals()
/third_party/node/deps/googletest/include/gtest/internal/
Dgtest-internal.h324 bool is_nan() const { in is_nan() function
339 if (is_nan() || rhs.is_nan()) return false; in AlmostEquals()
/third_party/python/Lib/test/
Dtest_decimal.py2749 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h524 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()
/third_party/googletest/googlemock/include/gmock/
Dgmock-matchers.h1681 if (actual.is_nan() || expected.is_nan()) {
1682 if (actual.is_nan() && expected.is_nan()) {
1717 if (FloatingPoint<FloatType>(expected_).is_nan()) {
1736 if (FloatingPoint<FloatType>(expected_).is_nan()) {

12