• Home
  • Raw
  • Download

Lines Matching refs:ulpDiff

130 inline float getEpsFromMaxUlpDiff (float value, deUint32 ulpDiff)  in getEpsFromMaxUlpDiff()  argument
133 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
672 …const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, r… in compare() local
674 if (ulpDiff > 0) in compare()
676 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
697 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
699 if (ulpDiff <= maxUlpDiff) in compare()
770 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(resSum, in0) : getUlpDiffIgnoreZeroSign(resSum,… in compare() local
772 if (ulpDiff > maxUlpDiff) in compare()
775 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
992 const int ulpDiff = de::abs((int)out0 - (int)refOut0); in compare() local
994 if (ulpDiff > maxUlpDiff) in compare()
997 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
1060 const deUint32 ulpDiff = getUlpDiff(in0, out0); in compare() local
1062 if (ulpDiff > maxUlpDiff) in compare()
1065 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1124 const deUint32 ulpDiff = getUlpDiff(out0, ref); in compare() local
1126 if (ulpDiff > 0) in compare()
1128 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1149 const deUint32 ulpDiff = getUlpDiff(out0, float(roundedVal)); in compare() local
1151 if (ulpDiff <= maxUlpDiff) in compare()
1232 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1234 if (ulpDiff > 0) in compare()
1236 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1257 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1259 if (ulpDiff <= maxUlpDiff) in compare()
1359 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1361 if (ulpDiff > 0) in compare()
1363 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1385 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1387 if (ulpDiff <= maxUlpDiff) in compare()
1458 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref… in compare() local
1460 if (ulpDiff > 0) in compare()
1462 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1483 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
1485 if (ulpDiff <= maxUlpDiff) in compare()
1495 const int ulpDiff = de::abs((int)tcu::Float32(out0).bits() - (int)0x80000000u); in compare() local
1496 anyOk = ((deUint32)ulpDiff <= maxUlpDiff); in compare()
1576 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, ref… in compare() local
1578 if (ulpDiff > 0) in compare()
1580 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
1600 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, ref); in compare() local
1602 if (ulpDiff > maxUlpDiff) in compare()
1604 …t(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()