Home | History | Annotate | Download | only in functional

Lines Matching defs:sign

116 		return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b);
118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat());
505 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType)
509 m_spec.source = "out0 = sign(in0);";
815 const deUint32 sign = rnd.getUint32() & 0x1u;
816 const deUint32 value = (sign << 31) | (exp << 23) | mantissa;
896 const deUint32 sign = rnd.getUint32() & 0x1u;
897 const deUint32 value = (sign << 31) | (exp << 23) | mantissa;
1228 const bool isNeg = tcu::Float32(in0).sign() < 0;
1231 // \note: trunc() function definition is a bit broad on negative zeros. Ignore result sign if zero.
1669 addFunctionCases<SignCase> (this, "sign", true, true, false);