Home
last modified time | relevance | path

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

12345

/dports/graphics/ospray/ospray-2.8.0/ospray/common/
H A DClipping.ih36 int ulpDiff = (int)intbits(a) - (int)intbits(b);
39 // if (ulpDiff < 0) ulpDiff = -ulpDiff;
40 int mask = (ulpDiff >> 31);
41 ulpDiff = (ulpDiff ^ mask) - mask;
43 if (ulpDiff <= ulpMaxDiff)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp637 if (ulpDiff > 0) in compare()
662 if (ulpDiff <= maxUlpDiff) in compare()
735 if (ulpDiff > maxUlpDiff) in compare()
957 if (ulpDiff > maxUlpDiff) in compare()
1025 if (ulpDiff > maxUlpDiff) in compare()
1089 if (ulpDiff > 0) in compare()
1197 if (ulpDiff > 0) in compare()
1324 if (ulpDiff > 0) in compare()
1423 if (ulpDiff > 0) in compare()
1541 if (ulpDiff > 0) in compare()
[all …]
/dports/science/gromacs/gromacs-2021.4/src/gromacs/simd/tests/
H A Dbase.cpp80 std::vector<std::int64_t> ulpDiff(tst.size()); in compareVectorRealUlp() local
106 ulpDiff[i] = llabs(conv0.i - conv1.i); in compareVectorRealUlp()
109 … allOk = allOk && ((absDiff[i] < absTol_) || ((ref[i] * tst[i] >= 0) && (ulpDiff[i] <= ulpTol_))); in compareVectorRealUlp()
126 << "Ulp difference: " << ::testing::PrintToString(ulpDiff) << std::endl; in compareVectorRealUlp()
H A Dsimd_math.cpp223 std::int64_t ulpDiff = high.i - low.i; in generateTestPoints() local
225 std::int64_t ulpDelta = ulpDiff / static_cast<std::int64_t>(points); in generateTestPoints()
226 std::int64_t minUlpDelta = (ulpDiff > 0) ? 1 : -1; in generateTestPoints()
233 points = std::abs(ulpDiff); in generateTestPoints()
278 std::int64_t ulpDiff; in compareSimdMathFunction() local
354 ulpDiff = llabs(conv0.i - conv1.i); in compareSimdMathFunction()
355 if (ulpDiff > maxUlpDiff) in compareSimdMathFunction()
357 maxUlpDiff = ulpDiff; in compareSimdMathFunction()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/gles31/functional/
H A Des31fShaderCommonFunctionTests.cpp711 if (ulpDiff > 0) in compare()
736 if (ulpDiff <= maxUlpDiff) in compare()
809 if (ulpDiff > maxUlpDiff) in compare()
1036 if (ulpDiff > maxUlpDiff) in compare()
1104 if (ulpDiff > maxUlpDiff) in compare()
1168 if (ulpDiff > 0) in compare()
1276 if (ulpDiff > 0) in compare()
1403 if (ulpDiff > 0) in compare()
1502 if (ulpDiff > 0) in compare()
1620 if (ulpDiff > 0) in compare()
[all …]
/dports/science/gromacs/gromacs-2021.4/src/testutils/
H A Dtestasserts.h440 static inline FloatingPointTolerance ulpTolerance(uint64_t ulpDiff) in ulpTolerance() argument
442 return FloatingPointTolerance(0.0, 0.0, 0.0, 0.0, ulpDiff, ulpDiff, false); in ulpTolerance()
542 static inline FloatingPointTolerance relativeToleranceAsUlp(double magnitude, uint64_t ulpDiff) in relativeToleranceAsUlp() argument
544 return relativeToleranceAsPrecisionDependentUlp(magnitude, ulpDiff, ulpDiff); in relativeToleranceAsUlp()
/dports/net-im/biboumi/biboumi-9.0/external/src/catch/include/internal/
H A Dcatch_matchers_floating.cpp71 auto ulpDiff = std::abs(lc.i - rc.i); in almostEqualUlps() local
72 return ulpDiff <= maxUlpDiff; in almostEqualUlps()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java125 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
205 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java125 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
205 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/www/grafana8/grafana-8.3.6/vendor/gonum.org/v1/gonum/floats/scalar/
H A Dscalar.go59 return ulpDiff(math.Float64bits(a), math.Float64bits(b)) <= uint64(ulp)
62 func ulpDiff(a, b uint64) uint64 { func
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java125 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
205 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java124 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
204 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java124 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
204 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java124 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
204 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java125 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
205 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/vmTestbase/vm/compiler/jbe/subcommon/subcommon02/
H A Dsubcommon02.java125 if (ulpDiff(a[i][j], aopt[i][j]) > 1) { in eCheck()
205 static double ulpDiff(double ref, double test) { in ulpDiff() method in subcommon02
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/test/external/catch2/include/internal/
H A Dcatch_matchers_floating.cpp58 auto ulpDiff = std::abs(lc - rc); in almostEqualUlps() local
59 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/math/e-antic/Catch2-ff349a5/include/internal/
H A Dcatch_matchers_floating.cpp58 auto ulpDiff = std::abs(lc - rc); in almostEqualUlps() local
59 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/www/restbed/restbed-4.8/dependency/catch/include/internal/
H A Dcatch_matchers_floating.cpp58 auto ulpDiff = std::abs(lc - rc); in almostEqualUlps() local
59 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/emulators/citra-qt5/citra-ac98458e0/externals/catch/include/internal/
H A Dcatch_matchers_floating.cpp59 auto ulpDiff = std::abs(static_cast<FP>(lc - rc)); in almostEqualUlps() local
60 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/emulators/citra/citra-ac98458e0/externals/catch/include/internal/
H A Dcatch_matchers_floating.cpp59 auto ulpDiff = std::abs(static_cast<FP>(lc - rc)); in almostEqualUlps() local
60 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/devel/catch/Catch2-2.13.7/include/internal/
H A Dcatch_matchers_floating.cpp59 auto ulpDiff = std::abs(static_cast<FP>(lc - rc)); in almostEqualUlps() local
60 return static_cast<uint64_t>(ulpDiff) <= maxUlpDiff; in almostEqualUlps()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderCommonFunctionTests.cpp884 const int ulpDiff = de::abs((int)out0 - (int)refOut0); in compare() local
886 if (ulpDiff > maxUlpDiff) in compare()
889 << tcu::toHex(maxUlpDiff) << ", got diff " << tcu::toHex(ulpDiff); in compare()
967 const deUint32 ulpDiff = getUlpDiffIgnoreZeroSign(in0, out0); in compare() local
969 if (ulpDiff > maxUlpDiff) in compare()
972 << tcu::toHex(maxUlpDiff) << ", got ULP diff " << tcu::toHex(ulpDiff); in compare()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/modules/internal/
H A 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()
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/gonum.org/v1/gonum/floats/
H A Dfloats.go303 return ulpDiff(math.Float64bits(a), math.Float64bits(b)) <= uint64(ulp)
306 func ulpDiff(a, b uint64) uint64 { func

12345