/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 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() [all …]
|
D | es3fShaderPrecisionTests.cpp | 315 …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/ |
D | es31fShaderCommonFunctionTests.cpp | 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() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 138 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/ |
D | catch_matchers_floating.cpp | 73 auto ulpDiff = std::abs(lc.i - rc.i); in almostEqualUlps() local 74 return ulpDiff <= maxUlpDiff; in almostEqualUlps()
|
/external/deqp/modules/internal/ |
D | ditFrameworkTests.cpp | 574 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/ |
D | catch.hpp | 9344 auto ulpDiff = std::abs(lc.i - rc.i); in almostEqualUlps() local 9345 return ulpDiff <= maxUlpDiff; in almostEqualUlps()
|