Lines Matching defs:ref

708 				const float		ref			= roundEven(in0);
710 const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
714 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
875 const bool ref = tcu::Float32(in0).isNaN();
877 if (out0 != ref)
879 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false");
891 const bool ref = tcu::Float32(in0).isNaN();
893 if (!ref && out0)
895 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false");
958 const bool ref = tcu::Float32(in0).isInf();
960 if (out0 != ref)
962 m_failMsg << "Expected [" << compNdx << "] = " << HexBool(ref);
974 const bool ref = tcu::Float16(in0).isInf();
976 if (!ref && out0)
978 m_failMsg << "Expected [" << compNdx << "] = " << (ref ? "true" : "false");
1165 const float ref = deFloatFloor(in0);
1167 const deUint32 ulpDiff = getUlpDiff(out0, ref);
1171 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1272 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0));
1275 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1279 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1401 const float ref = roundEven(in0);
1402 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1406 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1499 const float ref = deFloatCeil(in0);
1501 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1505 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1617 const float ref = deFloatFrac(in0);
1619 const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref);
1623 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff);
1640 const float ref = deFloatFrac(in0);
1641 const int bitsLost = numBitsLostInOp(in0, ref);
1643 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref);
1647 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);
2060 const tcu::Interval ref = fma(precision, a, b, c);
2062 if (!ref.contains(res))
2064 m_failMsg << "Expected [" << compNdx << "] = " << ref;