Lines Matching defs:ref
633 const float ref = roundEven(in0);
635 const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
639 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
800 const deUint32 ref = tcu::Float32(in0).isNaN() ? 1u : 0u;
802 if (out0 != ref)
804 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref);
881 const deUint32 ref = tcu::Float32(in0).isInf() ? 1u : 0u;
883 if (out0 != ref)
885 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref);
1085 const float ref = deFloatFloor(in0);
1087 const deUint32 ulpDiff = getUlpDiff(out0, ref);
1091 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1192 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0));
1195 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1199 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1321 const float ref = roundEven(in0);
1322 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1326 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1419 const float ref = deFloatCeil(in0);
1421 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1425 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1537 const float ref = deFloatFrac(in0);
1539 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1543 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1560 const float ref = deFloatFrac(in0);
1561 const int bitsLost = numBitsLostInOp(in0, ref);
1563 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1567 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);