• Home
  • Raw
  • Download

Lines Matching refs:ulpDiff

134 inline float getEpsFromMaxUlpDiff (float value, deUint32 ulpDiff)  in getEpsFromMaxUlpDiff()  argument
137 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
750 …const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, r… in compare() local
752 if (ulpDiff > 0) in compare()
754 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
775 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
777 if (ulpDiff <= maxUlpDiff) in compare()
848 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(resSum, in0) : getUlpDiffIgnoreZeroSign(resSum,… in compare() local
850 if (ulpDiff > maxUlpDiff) in compare()
853 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1075 const int ulpDiff = de::abs((int)out0 - (int)refOut0); in compare() local
1077 if (ulpDiff > maxUlpDiff) in compare()
1080 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1143 const deUint32 ulpDiff = getUlpDiff(in0, out0); in compare() local
1145 if (ulpDiff > maxUlpDiff) in compare()
1148 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1207 const deUint32 ulpDiff = getUlpDiff(out0, ref); in compare() local
1209 if (ulpDiff > 0) in compare()
1211 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1232 const deUint32 ulpDiff = getUlpDiff(out0, float(roundedVal)); in compare() local
1234 if (ulpDiff <= maxUlpDiff) in compare()
1315 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1317 if (ulpDiff > 0) in compare()
1319 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1340 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1342 if (ulpDiff <= maxUlpDiff) in compare()
1442 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1444 if (ulpDiff > 0) in compare()
1446 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1468 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1470 if (ulpDiff <= maxUlpDiff) in compare()
1541 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref… in compare() local
1543 if (ulpDiff > 0) in compare()
1545 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1566 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1568 if (ulpDiff <= maxUlpDiff) in compare()
1578 const int ulpDiff = de::abs((int)tcu::Float32(out0).bits() - (int)0x80000000u); in compare() local
1579 anyOk = ((deUint32)ulpDiff <= maxUlpDiff); in compare()
1659 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref… in compare() local
1661 if (ulpDiff > 0) in compare()
1663 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1683 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1685 if (ulpDiff > maxUlpDiff) in compare()
1687 …t(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1948 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, refOut0); in compare() local
1952 if (ulpDiff > maxUlpDiff) in compare()
1955 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()