/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/comp/ |
D | nmin-max-clamp.asm.comp | 22 _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/ |
D | nmin-max-clamp.asm.comp | 22 _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/ |
D | nmin-max-clamp.asm.comp | 5 …_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/ |
D | nmin-max-clamp.asm.comp | 5 …_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/ |
D | extra.decTest | 879 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/ |
D | IsNan.glsl | 9 …isnan(valueIsNaN.x) && all(isnan(valueIsNaN.xy))) && all(isnan(valueIsNaN.xyz))) && all(isnan(valu…
|
D | IsNan.metal | 19 …isnan(float(valueIsNaN.x)) && all(isnan(float2(valueIsNaN.xy)))) && all(isnan(float3(valueIsNaN.xy…
|
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
D | math_fmod_test.cpp | 46 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)));
|
D | math_remainder_test.cpp | 47 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)));
|
D | math_remquo_test.cpp | 53 EXPECT_TRUE(isnan(remquo(nan(""), 15.0, "ient))); 54 EXPECT_TRUE(isnan(remquo(11.0, nan(""), "ient))); 65 EXPECT_TRUE(isnan(remquo(HUGE_VAL, 15.0, "ient))); 66 EXPECT_TRUE(isnan(remquo(-HUGE_VAL, 11.0, "ient))); 77 EXPECT_TRUE(isnan(remquo(14.0, 0.0, "ient))); 119 EXPECT_TRUE(isnan(remquof(nanf(""), 15.0f, "ient))); 120 EXPECT_TRUE(isnan(remquof(11.0f, nanf(""), "ient))); 131 EXPECT_TRUE(isnan(remquof(HUGE_VAL, 15.0f, "ient))); 132 EXPECT_TRUE(isnan(remquof(-HUGE_VAL, 11.0f, "ient))); 143 EXPECT_TRUE(isnan(remquof(14.0f, 0.0f, "ient)));
|
D | complex_test.cpp | 656 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 …]
|
D | math_data_test.cpp | 17 if (!isnan(expected) && !isnan(actual)) { in DoubleUlpCmp() 39 if (!isnan(expected) && !isnan(actual)) { in FloatUlpCmp()
|
D | math_pow_test.cpp | 36 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(""))));
|
D | math_log1p_test.cpp | 46 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/ |
D | IsNan.sksl | 10 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/ |
D | test_cmath.py | 78 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 …]
|
D | test_math.py | 200 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/ |
D | mtest.c | 52 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/ |
D | Sampler.cpp | 28 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/ |
D | boxed-float.h | 28 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/ |
D | eval | 152 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/ |
D | utils-arm64.h | 74 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/ |
D | message_test.py | 65 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/ |
D | fpclassify.c | 97 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/ |
D | simulator-riscv64.h | 759 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()
|