Home | History | Annotate | Download | only in functional

Lines Matching refs:isNan

788 		: CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isnan", shaderType)
797 m_spec.source = "out0 = isnan(in0);";
811 const bool isNan = rnd.getFloat() > 0.3f;
812 const bool isInf = !isNan && rnd.getFloat() > 0.4f;
814 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
818 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
837 const deUint32 ref = tcu::Float32(in0).isNaN() ? 1u : 0u;
893 const bool isNan = !isInf && rnd.getFloat() > 0.4f;
895 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
899 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
1684 addFunctionCases<IsnanCase> (this, "isnan", true, false, false);