Lines Matching refs:maxUlpDiff
503 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u;
512 if (ulpDiff0 > maxUlpDiff)
514 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxUlpDiff << ", got ULP diff " << ulpDiff0;
596 const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantissaBits(precision)) : 0;
606 if (ulpDiff0 > maxUlpDiff)
608 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxUlpDiff << ", got ULP diff " << ulpDiff0;
722 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
737 if (ulpDiff <= maxUlpDiff)
746 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
804 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0));
810 if (ulpDiff > maxUlpDiff)
813 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);
1028 const int maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1037 if (ulpDiff > maxUlpDiff)
1040 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);
1097 const deUint32 maxUlpDiff = 0;
1105 if (ulpDiff > maxUlpDiff)
1108 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);
1179 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1194 if (ulpDiff <= maxUlpDiff)
1203 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1287 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1302 if (ulpDiff <= maxUlpDiff)
1311 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1415 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1430 if (ulpDiff <= maxUlpDiff)
1439 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1513 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1528 if (ulpDiff <= maxUlpDiff)
1539 anyOk = ((deUint32)ulpDiff <= maxUlpDiff);
1544 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1642 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(0, mantissaBits-bitsLost)); // ULP diff for rounded integer value.
1645 if (ulpDiff > maxUlpDiff)
1647 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);
1761 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1776 if (ulpDiff0 > maxUlpDiff || out1 != refOut1)
1779 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff0);
1900 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1912 if (ulpDiff > maxUlpDiff)
1915 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);