Lines Matching refs:isNan
866 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "isnan", shaderType)
875 m_spec.source = "out0 = isnan(in0);";
889 const bool isNan = rnd.getFloat() > 0.3f;
890 const bool isInf = !isNan && rnd.getFloat() > 0.4f;
892 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
896 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
915 const bool ref = tcu::Float32(in0).isNaN();
931 const bool ref = tcu::Float32(in0).isNaN();
973 const bool isNan = !isInf && rnd.getFloat() > 0.4f;
975 const deUint32 exp = !isNan && !isInf ? (rnd.getUint32() & 0x7fu) : 0xffu;
979 DE_ASSERT(tcu::Float32(value).isInf() == isInf && tcu::Float32(value).isNaN() == isNan);
2185 addFunctionCases<IsnanCase> (this, "isnan", true, false, false, NEW_SHADERS);