Lines Matching refs:ref
670 const float ref = roundEven(in0);
672 const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
676 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
837 const deUint32 ref = tcu::Float32(in0).isNaN() ? 1u : 0u;
839 if (out0 != ref)
841 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref);
918 const deUint32 ref = tcu::Float32(in0).isInf() ? 1u : 0u;
920 if (out0 != ref)
922 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref);
1122 const float ref = deFloatFloor(in0);
1124 const deUint32 ulpDiff = getUlpDiff(out0, ref);
1128 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1229 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0));
1232 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1236 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1358 const float ref = roundEven(in0);
1359 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1363 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1456 const float ref = deFloatCeil(in0);
1458 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1462 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1574 const float ref = deFloatFrac(in0);
1576 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1580 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1597 const float ref = deFloatFrac(in0);
1598 const int bitsLost = numBitsLostInOp(in0, ref);
1600 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1604 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);