Home
last modified time | relevance | path

Searched refs:deAbs (Results 1 – 12 of 12) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuFloatFormat.cpp101 const double frac = deFractExp(deAbs(x), &exp); in ulp()
237 const double frac = deFractExp(deAbs(x), &exp); in floatToHex()
328 if (roundUnderOverflow && deAbs(d) > 1.0 && (upward == (d < 0.0))) in roundOut()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp875 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in iterate()
884 if (deAbs( outputValue.x() - fReferenceValue) > acceptableError) in iterate()
920 if (deAbs(outputValue.x()) > acceptableError) in iterate()
929 if (deAbs(outputValue.x()) > acceptableError) in iterate()
990 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in iterate()
999 if (deAbs( outputValue.x() - fReferenceValue) > acceptableError) in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp793 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in iterate()
802 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in iterate()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h156 DE_INLINE double deAbs (double x) { return (x >= 0.0) ? x : -x; } in deAbs() function
210 DE_INLINE double deCbrt (double a) { return deSign(a) * dePow(deAbs(a), 1.0 / 3.0); } in deCbrt()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp4696 int index4 = (int)deFloor(deAbs((float)ndx * inputFloats[ndx])); in createOpPhiGroup()
14261 …virtual double getMin (double value, double ulps) { return value - floatFormat16.ulp(deAbs(v… in getMin()
14262 …virtual double getMax (double value, double ulps) { return value + floatFormat16.ulp(deAbs(v… in getMax()
14373 const double result (deAbs(d)); in calc()
14511 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc()
14533 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc()
14598 if (!x.isNaN() && deAbs(d) > 1.0) in calc()
14602 …min[0] = result - floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc()
14603 …max[0] = result + floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc()
14619 if (!x.isNaN() && deAbs(d) > 1.0) in calc()
[all …]
DvktSpvAsmFloatControlsTests.cpp2512 if (deAbs(returnedFloat.asDouble() - piDiv2) < precision) in isAcosResultCorrect()
2528 if (deAbs(returnedFloat.asDouble() - expected) < precision) in isCosResultCorrect()
2577 if (deAbs(returnedFloat.asDouble() - expected) < precision) in isLogResultCorrect()
2595 if (deAbs(returnedFloat.asDouble() - expected) < precision) in isInverseSqrtResultCorrect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp434 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in testStorageImageWrite()
443 if (deAbs( outputValue.x() - fReferenceValue) > acceptableError) in testStorageImageWrite()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp2088 else if (de::inBounds(deAbs(den), in precision()
2127 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2129 return ctx.format.ulp(ret, 2.0 + 2.0 * deAbs(x)); in precision()
2349 return deLdExp(deAbs(arg), -12); in precision()
2362 return deLdExp(deAbs(arg), -10); in precision()
3246 Abs (void) : PreciseFunc1("abs", deAbs) {} in Abs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2723 else if (de::inBounds(deAbs(den), in precision()
2773 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2776 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
2787 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
2793 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
3129 return deLdExp(deAbs(arg), -12); in precision()
3141 return deLdExp(deAbs(arg), -8); in precision()
3174 return deLdExp(deAbs(arg), -12); in precision()
4153 Abs (void) : PreciseFunc1<T> ("abs", deAbs) {} in Abs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp771 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > tolerance) in iterate()
1486 if (!m_useEarlyTests && deAbs(depthValue - 0.5f) > 0.01f) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1829 if (deAbs(received - expected) > 0.05) in validateValue()
1839 if (deAbs(received - expected) > 0.05) in validateValue()
DvktTransformFeedbackSimpleTests.cpp1046 if (deAbs(tfData[i] - expected) > epsilon) in verifyTransformFeedbackBuffer()