Lines Matching refs:isNan
819 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isnan", shaderType)
828 m_spec.source = "out0 = isnan(in0);";
842 const bool isNan = rnd.getFloat() > 0.3f;
843 const bool isInf = !isNan && rnd.getFloat() > 0.4f;
845 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
849 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
868 const bool ref = tcu::Float32(in0).isNaN();
884 const bool ref = tcu::Float32(in0).isNaN();
926 const bool isNan = !isInf && rnd.getFloat() > 0.4f;
928 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
932 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
2133 addFunctionCases<IsnanCase> (this, "isnan", true, false, false, NEW_SHADERS);