Home
last modified time | relevance | path

Searched refs:ulpDiff (Results 1 – 7 of 7) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp130 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()
[all …]
Des3fShaderPrecisionTests.cpp315 …const deUint64 ulpDiff = (deUint64)de::abs((deInt64)accurateRefBits - (deInt64)accurateResBits); in compare() local
317 if (ulpDiff > (deUint64)roundingUlpError) in compare()
319 …ERROR: comparison failed! ULP diff (ignoring lost/undefined bits) = " << ulpDiff << TestLog::EndMe… in compare()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp134 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()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp138 inline float getEpsFromMaxUlpDiff (float value, deUint32 ulpDiff) in getEpsFromMaxUlpDiff() argument
141 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
853 …const deUint32 ulpDiff = hasSignedZero ? getUlpDiff(out0, ref) : getUlpDiffIgnoreZeroSign(out0, r… in compare() local
855 if (ulpDiff > 0) in compare()
857 … << "Expected [" << compNdx << "] = " << HexFloat(ref) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
878 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(out0, float(roundedVal)); in compare() local
880 if (ulpDiff <= maxUlpDiff) in compare()
964 …const deUint32 ulpDiff = hasZeroSign ? getUlpDiff(resSum, in0) : getUlpDiffIgnoreZeroSign(resSum,… in compare() local
966 if (ulpDiff > maxUlpDiff) in compare()
969 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
[all …]
/external/catch2/include/internal/
Dcatch_matchers_floating.cpp73 auto ulpDiff = std::abs(lc.i - rc.i); in almostEqualUlps() local
74 return ulpDiff <= maxUlpDiff; in almostEqualUlps()
/external/deqp/modules/internal/
DditFrameworkTests.cpp574 inline deUint32 ulpDiff (float a, float b) in ulpDiff() function
582 inline tcu::Vector<deUint32, Size> ulpDiff (const tcu::Vector<float, Size>& a, const tcu::Vector<fl… in ulpDiff() function
586 res[ndx] = ulpDiff(a[ndx], b[ndx]); in ulpDiff()
825 const UVec4 colorDiff = ulpDiff(color, subCase.varying); in runCase()
829 const deUint32 depthDiff = ulpDiff(depth, refDepth); in runCase()
/external/catch2/single_include/catch2/
Dcatch.hpp9344 auto ulpDiff = std::abs(lc.i - rc.i); in almostEqualUlps() local
9345 return ulpDiff <= maxUlpDiff; in almostEqualUlps()