/external/angle/src/common/ |
D | mathutil_unittest.cpp | 191 TEST(MathUtilTest, isInf) in TEST() argument 193 EXPECT_TRUE(isInf(bitCast<float>(0xffu << 23))); in TEST() 194 EXPECT_TRUE(isInf(bitCast<float>(1u << 31 | 0xffu << 23))); in TEST() 195 EXPECT_FALSE(isInf(0.0f)); in TEST() 196 EXPECT_FALSE(isInf(bitCast<float>(0xffu << 23 | 1u))); in TEST() 197 EXPECT_FALSE(isInf(bitCast<float>(1u << 31 | 0xffu << 23 | 1u))); in TEST() 198 EXPECT_FALSE(isInf(bitCast<float>(1u << 31 | 0xffu << 23 | 0x400000u))); in TEST() 199 EXPECT_FALSE(isInf(bitCast<float>(1u << 31 | 0xffu << 23 | 0x7fffffu))); in TEST() 200 EXPECT_FALSE(isInf(bitCast<float>(0xfeu << 23 | 0x7fffffu))); in TEST() 201 EXPECT_FALSE(isInf(bitCast<float>(1u << 31 | 0xfeu << 23 | 0x7fffffu))); in TEST()
|
/external/angle/src/compiler/translator/ |
D | ConstantUnion.cpp | 27 else if (gl::isInf(result) && !gl::isInf(lhs) && !gl::isInf(rhs)) in CheckedSum() 41 else if (gl::isInf(result) && !gl::isInf(lhs) && !gl::isInf(rhs)) in CheckedDiff() 55 else if (gl::isInf(result) && !gl::isInf(lhs) && !gl::isInf(rhs)) in CheckedMul()
|
D | util.cpp | 254 return !gl::isInf(*value); in strtof_clamp()
|
D | IntermNode.cpp | 2504 else if (gl::isInf(dividend) && gl::isInf(divisor)) in FoldBinary() 2515 if (!gl::isInf(dividend) && gl::isInf(result)) in FoldBinary() 3237 resultArray[i].setBConst(gl::isInf(operandArray[i].getFConst())); in foldUnaryComponentWise()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 653 const bool isInf = rnd.getFloat() > 0.75f; in infNanRandomFloats() local 654 const bool isNan = !isInf && rnd.getFloat() > 0.66f; in infNanRandomFloats() 659 const deUint64 mantissa = isInf ? 0 : (isNan ? ((kOne<<(numMantissaBits-1)) | m) : m); in infNanRandomFloats() 660 const deUint64 exp = (isNan || isInf) ? exponentMask : std::min(e, exponentBias); in infNanRandomFloats() 662 if (isInf) numInf++; in infNanRandomFloats() 667 DE_ASSERT(tcu::Float64(value).isInf() == isInf && tcu::Float64(value).isNaN() == isNan); in infNanRandomFloats() 673 DE_ASSERT(tcu::Float32(value32).isInf() == isInf && tcu::Float32(value32).isNaN() == isNan); in infNanRandomFloats() 794 ref = tcu::Float64(in0).isInf(); in compare() 803 ref = tcu::Float32(in0).isInf(); in compare() 809 ref = tcu::Float16(in0).isInf(); in compare()
|
D | vktShaderFConvertTests.cpp | 267 else if (validResult.isInf() && result.isInf()) in validConversion()
|
/external/angle/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 81 return gl::isInf(node.getFConst()) && node.getFConst() > 0; in isEqual() 85 return gl::isInf(node.getFConst()) && node.getFConst() < 0; in isEqual()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceVariableSplitting.cpp | 38 bool isInf(const Variable *Var) { in isInf() function 280 const bool DestIsInf = isInf(Dest); in handleSimpleVarAssign() 283 const bool SrcIsInf = isInf(SrcVar); in handleSimpleVarAssign()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 775 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues() local 776 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues() 777 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues() 781 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues() 855 const bool isInf = rnd.getFloat() > 0.3f; in getInputValues() local 856 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() 857 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues() 858 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues() 862 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues() 881 const deUint32 ref = tcu::Float32(in0).isInf() ? 1u : 0u; in compare()
|
/external/python/pyasn1/docs/source/pyasn1/type/univ/ |
D | real.rst | 10 …ameTypeWith, isSuperTypeOf, tagSet, effectiveTagSet, tagMap, subtypeSpec, isInf, isPlusInf, isMinu…
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderCommonFunctionTests.cpp | 850 const bool isInf = !isNan && rnd.getFloat() > 0.4f; in getInputValues() local 851 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues() 852 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues() 856 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues() 932 const bool isInf = rnd.getFloat() > 0.3f; in getInputValues() local 933 const bool isNan = !isInf && rnd.getFloat() > 0.4f; in getInputValues() 934 const deUint32 mantissa = !isInf ? ((1u<<22) | (rnd.getUint32() & mantissaMask)) : 0; in getInputValues() 935 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu; in getInputValues() 939 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan); in getInputValues() 958 const bool ref = tcu::Float32(in0).isInf(); in compare() [all …]
|
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderSpec.cpp | 191 auto isInf = abs > 65504.0f ? ~0u : 0u; in EvalSpecConstantUnaryOp() local 193 auto isInfOrNan = isInf | isNaN; in EvalSpecConstantUnaryOp()
|
D | SpirvShaderArithmetic.cpp | 332 auto isInf = CmpGT(abs, SIMD::Float(65504.0f)); in EmitUnaryOp() local 334 auto isInfOrNan = isInf | isNaN; in EmitUnaryOp()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 131 return !fp16.isDenorm() && !fp16.isInf() && !fp16.isNaN(); in isValidFloat() 136 return !fp32.isDenorm() && !fp32.isInf() && !fp32.isNaN(); in isValidFloat()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 133 return !fp16.isDenorm() && !fp16.isInf() && !fp16.isNaN(); in isValidFloat() 138 return !fp32.isDenorm() && !fp32.isInf() && !fp32.isNaN(); in isValidFloat()
|
/external/deqp/framework/common/ |
D | tcuFloat.hpp | 125 …inline bool isInf (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBi… in isInf() function in tcu::Float 280 if (other.isInf()) in convert()
|
/external/angle/src/tests/compiler_tests/ |
D | FloatLex_test.cpp | 59 return gl::isInf(f); in IsInfinity()
|
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/ |
D | tf_jitrt_math_approximation.cc | 283 Value isInf = in matchAndRewrite() local 289 expm1 = builder.create<arith::SelectOp>(isInf, u, expm1); in matchAndRewrite()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 2582 if (originalFloat.isInf()) in compare16BitFloat() 2584 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2642 if (originalFloat.isInf()) in compare16BitFloat() 2644 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2689 if (originalFloat.isInf()) in compare16BitFloat() 2691 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2738 if (originalFloat.isInf()) in compare16BitFloat() 2740 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat() 2797 if (originalFloat.isInf()) in compare16BitFloat64() 2799 if (returnedFloat.isInf() && originalFloat.signBit() == returnedFloat.signBit()) in compare16BitFloat64()
|
D | vktSpvAsmInstructionTests.cpp | 7273 …16isInf { bool operator()(const tcu::Float16 in1, const tcu::Float16) { return in1.isInf(); } }; in operator ()() 14901 if (lsxsq.isInf()) in calc() 15173 if (x.isInf() || x.isNaN()) in calc() 15197 if (x.isInf() || x.isNaN()) in calc() 15218 if (x.isNaN() || x.isInf()) in calc() 15242 if (x.isNaN() || x.isInf()) in calc() 15380 if ((x.isZero() && y.isZero())||(x.isInf() && y.isInf())) in calc() 15545 if (y.isNaN() || y.isInf() || y.isDenorm() || yd < -14 || yd > 15) in calc() 15549 if (fp16type(result).isInf()) in calc() 15689 if (edge0.isInf() || edge1.isInf() || x.isInf()) in calc() [all …]
|
/external/eigen/Eigen/src/plugins/ |
D | ArrayCwiseUnaryOps.h | 562 isInf() const in isInf() function
|
/external/eigen/test/ |
D | array_cwise.cpp | 376 VERIFY((m1.isInf() == (Eigen::isinf)(m1)).all()); in array_real() 501 VERIFY((m1.isInf() == (Eigen::isinf)(m1)).all()); in array_complex()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.hpp | 497 DE_ASSERT(!v.isNaN() && !v.isInf()); in floatToHalf()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 144 DE_ASSERT(!f.isNaN() && !f.isInf()); in addUlp()
|
/external/eigen/doc/ |
D | CoeffwiseMathFunctionsTable.dox | 442 a.\link ArrayBase::isInf isInf\endlink(); \n
|