Home
last modified time | relevance | path

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

12345678910>>...22

/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/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/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/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/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/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/musl/libc-test/src/functionalext/supplement/math/math_gtest/
Dmath_fmod_test.cpp46 EXPECT_TRUE(isnan(fmod(HUGE_VAL, 15.0f)));
47 EXPECT_TRUE(isnan(fmod(-HUGE_VAL, 15.0f)));
57 EXPECT_TRUE(isnan(fmod(nan(""), 14.0)));
58 EXPECT_TRUE(isnan(fmod(14.0, nan(""))));
68 EXPECT_TRUE(isnan(fmod(4.0, 0.0)));
102 EXPECT_TRUE(isnan(fmodf(HUGE_VAL, 15.0f)));
103 EXPECT_TRUE(isnan(fmodf(-HUGE_VAL, 15.0f)));
113 EXPECT_TRUE(isnan(fmodf(nanf(""), 14.0f)));
114 EXPECT_TRUE(isnan(fmodf(14.0f, nan(""))));
124 EXPECT_TRUE(isnan(fmodf(4.0f, 0.0f)));
Dmath_remainder_test.cpp47 EXPECT_TRUE(isnan(remainder(nan(""), 11.0)));
48 EXPECT_TRUE(isnan(remainder(13.0, nan(""))));
58 EXPECT_TRUE(isnan(remainder(HUGE_VAL, 14.0)));
59 EXPECT_TRUE(isnan(remainder(-HUGE_VAL, 14.0)));
69 EXPECT_TRUE(isnan(remainder(15.0, 0.0)));
104 EXPECT_TRUE(isnan(remainderf(nanf(""), 11.0f)));
105 EXPECT_TRUE(isnan(remainderf(13.0f, nanf(""))));
115 EXPECT_TRUE(isnan(remainderf(HUGE_VAL, 14.0f)));
116 EXPECT_TRUE(isnan(remainderf(-HUGE_VAL, 14.0f)));
126 EXPECT_TRUE(isnan(remainderf(15.0f, 0.0f)));
Dmath_remquo_test.cpp53 EXPECT_TRUE(isnan(remquo(nan(""), 15.0, &quotient)));
54 EXPECT_TRUE(isnan(remquo(11.0, nan(""), &quotient)));
65 EXPECT_TRUE(isnan(remquo(HUGE_VAL, 15.0, &quotient)));
66 EXPECT_TRUE(isnan(remquo(-HUGE_VAL, 11.0, &quotient)));
77 EXPECT_TRUE(isnan(remquo(14.0, 0.0, &quotient)));
119 EXPECT_TRUE(isnan(remquof(nanf(""), 15.0f, &quotient)));
120 EXPECT_TRUE(isnan(remquof(11.0f, nanf(""), &quotient)));
131 EXPECT_TRUE(isnan(remquof(HUGE_VAL, 15.0f, &quotient)));
132 EXPECT_TRUE(isnan(remquof(-HUGE_VAL, 11.0f, &quotient)));
143 EXPECT_TRUE(isnan(remquof(14.0f, 0.0f, &quotient)));
Dcomplex_test.cpp656 EXPECT_TRUE(isnan(creal(tan_result)));
669 EXPECT_TRUE(isnan(creal(tan_result)));
670 EXPECT_TRUE(isnan(cimag(tan_result)));
682 EXPECT_TRUE(isnan(creal(tan_result)));
683 EXPECT_TRUE(isnan(cimag(tan_result)));
705 EXPECT_TRUE(isnan(crealf(tan_result)));
718 EXPECT_TRUE(isnan(crealf(tan_result)));
719 EXPECT_TRUE(isnan(cimagf(tan_result)));
731 EXPECT_TRUE(isnan(creal(tan_result)));
732 EXPECT_TRUE(isnan(cimag(tan_result)));
[all …]
Dmath_data_test.cpp17 if (!isnan(expected) && !isnan(actual)) { in DoubleUlpCmp()
39 if (!isnan(expected) && !isnan(actual)) { in FloatUlpCmp()
Dmath_pow_test.cpp36 EXPECT_TRUE(isnan(pow(nan(""), 5.0)));
37 EXPECT_TRUE(isnan(pow(4.0, nan(""))));
72 EXPECT_TRUE(isnan(powf(nanf(""), 3.0f)));
73 EXPECT_TRUE(isnan(powf(2.0f, nanf(""))));
Dmath_log1p_test.cpp46 EXPECT_TRUE(isnan(log1p(-HUGE_VAL)));
47 EXPECT_TRUE(isnan(log1p(nan(""))));
101 EXPECT_TRUE(isnan(log1pf(-HUGE_VAL)));
102 EXPECT_TRUE(isnan(log1pf(nanf(""))));
/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/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/musl/libc-test/src/common/
Dmtest.c52 if (isnan(got) && isnan(want)) in ulperrf()
68 if (isnan(got) && isnan(want)) in ulperr()
87 if (isnan(got) && isnan(want)) in ulperrl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSampler.cpp28 DAWN_INVALID_IF(std::isnan(descriptor->lodMinClamp) || std::isnan(descriptor->lodMaxClamp), in ValidateSamplerDescriptor()
141 ASSERT(!std::isnan(a->mLodMinClamp)); in operator ()()
142 ASSERT(!std::isnan(b->mLodMinClamp)); in operator ()()
143 ASSERT(!std::isnan(a->mLodMaxClamp)); in operator ()()
144 ASSERT(!std::isnan(b->mLodMaxClamp)); in operator ()()
/third_party/node/deps/v8/src/utils/
Dboxed-float.h28 DCHECK(!std::isnan(value)); in Float32()
38 return std::isnan(get_scalar()); in is_nan()
68 DCHECK(!std::isnan(value)); in Float64()
77 return std::isnan(get_scalar()); in is_nan()
/third_party/ffmpeg/tests/ref/fate/
Deval152 Evaluating 'isnan(1)'
153 'isnan(1)' -> 0.000000
155 Evaluating 'isnan(NAN)'
156 'isnan(NAN)' -> 1.000000
158 Evaluating 'isnan(INF)'
159 'isnan(INF)' -> 0.000000
195 Evaluating 'isnan(sqrt(-1))'
196 'isnan(sqrt(-1))' -> 1.000000
/third_party/node/deps/v8/src/codegen/arm64/
Dutils-arm64.h74 if (std::isnan(num) && ((raw & kDQuietNanMask) == 0)) { in IsSignallingNaN()
82 if (std::isnan(num) && ((raw & kSQuietNanMask) == 0)) { in IsSignallingNaN()
95 return std::isnan(num) && !IsSignallingNaN(num); in IsQuietNaN()
100 DCHECK(std::isnan(num)); in ToQuietNaN()
105 DCHECK(std::isnan(num)); in ToQuietNaN()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dmessage_test.py65 def isnan(val): function
70 return not isnan(val) and isnan(val * 0)
172 self.assertTrue(isnan(golden_message.optional_float))
173 self.assertTrue(isnan(golden_message.optional_double))
174 self.assertTrue(isnan(golden_message.repeated_float[0]))
175 self.assertTrue(isnan(golden_message.repeated_double[0]))
184 self.assertTrue(isnan(message.optional_float))
185 self.assertTrue(isnan(message.optional_double))
186 self.assertTrue(isnan(message.repeated_float[0]))
187 self.assertTrue(isnan(message.repeated_double[0]))
[all …]
/third_party/musl/libc-test/src/math/
Dfpclassify.c97 if (!!isnan(tf[i].f) != (tf[i].class == FP_NAN)) in main()
98 error(tf[i], isnan); in main()
110 if (!!isnan(td[i].f) != (td[i].class == FP_NAN)) in main()
111 error(td[i], isnan); in main()
123 if (!!isnan(tl[i].f) != (tl[i].class == FP_NAN)) in main()
124 error(tl[i], isnan); in main()
/third_party/node/deps/v8/src/execution/riscv64/
Dsimulator-riscv64.h759 if (std::isnan(alu_out) || std::isnan(src1) || std::isnan(src2) || in CanonicalizeFPUOpFMA()
760 std::isnan(dst)) { in CanonicalizeFPUOpFMA()
777 if (std::isnan(alu_out) || std::isnan(src1) || std::isnan(src2) || in CanonicalizeFPUOp3()
778 std::isnan(src3)) { in CanonicalizeFPUOp3()
794 if (std::isnan(alu_out) || std::isnan(src1) || std::isnan(src2)) { in CanonicalizeFPUOp2()
809 if (std::isnan(alu_out) || std::isnan(src1)) { in CanonicalizeFPUOp1()
820 if (std::isnan(alu_out) || std::isnan(drs1())) in CanonicalizeDoubleToFloatOperation()
828 if (std::isnan(alu_out) || std::isnan(drs1())) in CanonicalizeDoubleToFloatOperation()
836 if (std::isnan(alu_out) || std::isnan(frs1())) in CanonicalizeFloatToDoubleOperation()
844 if (std::isnan(alu_out) || std::isnan(frs1())) in CanonicalizeFloatToDoubleOperation()

12345678910>>...22