Lines Matching defs:sign
103 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b);
105 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat());
468 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType)
472 m_spec.source = "out0 = sign(in0);";
778 const deUint32 sign = rnd.getUint32() & 0x1u;
779 const deUint32 value = (sign << 31) | (exp << 23) | mantissa;
859 const deUint32 sign = rnd.getUint32() & 0x1u;
860 const deUint32 value = (sign << 31) | (exp << 23) | mantissa;
1191 const bool isNeg = tcu::Float32(in0).sign() < 0;
1194 // \note: trunc() function definition is a bit broad on negative zeros. Ignore result sign if zero.
1632 addFunctionCases<SignCase> (this, "sign", true, true, false);