Home | History | Annotate | Download | only in functional

Lines Matching refs:maxUlpDiff

496 			const deUint32	maxUlpDiff		= (1u<<(23-mantissaBits))-1u;
505 if (ulpDiff0 > maxUlpDiff)
507 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxUlpDiff << ", got ULP diff " << ulpDiff0;
589 const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantissaBits(precision)) : 0;
599 if (ulpDiff0 > maxUlpDiff)
601 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref0) << " with ULP threshold " << maxUlpDiff << ", got ULP diff " << ulpDiff0;
715 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
730 if (ulpDiff <= maxUlpDiff)
739 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
797 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0));
803 if (ulpDiff > maxUlpDiff)
806 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);
1021 const int maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1030 if (ulpDiff > maxUlpDiff)
1033 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);
1090 const int maxUlpDiff = 0;
1098 if (ulpDiff > maxUlpDiff)
1101 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);
1172 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1187 if (ulpDiff <= maxUlpDiff)
1196 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1280 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1295 if (ulpDiff <= maxUlpDiff)
1304 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1408 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1423 if (ulpDiff <= maxUlpDiff)
1432 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1506 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer value.
1521 if (ulpDiff <= maxUlpDiff)
1532 anyOk = ((deUint32)ulpDiff <= maxUlpDiff);
1537 m_failMsg << "Expected [" << compNdx << "] = [" << minRes << ", " << maxRes << "] with ULP threshold " << tcu::toHex(maxUlpDiff);
1635 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(0, mantissaBits-bitsLost)); // ULP diff for rounded integer value.
1638 if (ulpDiff > maxUlpDiff)
1640 m_failMsg << "Expected [" << compNdx << "] = " << HexFloat(ref) << " with ULP threshold " << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff);
1743 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1758 if (ulpDiff0 > maxUlpDiff || out1 != refOut1)
1761 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff0);
1882 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits);
1894 if (ulpDiff > maxUlpDiff)
1897 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);
2040 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(0, mantissaBits-numBitsLost));
2044 if (ulpDiff > maxUlpDiff)
2047 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff);