Home
last modified time | relevance | path

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

/external/deqp/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()
/external/deqp/framework/delibs/debase/
DdeMath.h79 DE_INLINE double deAbs (double x) { return (x >= 0.0) ? x : -x; } in deAbs() function
133 DE_INLINE double deCbrt (double a) { return deSign(a) * dePow(deAbs(a), 1.0 / 3.0); } in deCbrt()
/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp4649 int index4 = (int)deFloor(deAbs((float)ndx * inputFloats[ndx])); in createOpPhiGroup()
14190 …virtual double getMin (double value, double ulps) { return value - floatFormat16.ulp(deAbs(v… in getMin()
14191 …virtual double getMax (double value, double ulps) { return value + floatFormat16.ulp(deAbs(v… in getMax()
14302 const double result (deAbs(d)); in calc()
14440 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc()
14462 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc()
14527 if (!x.isNaN() && deAbs(d) > 1.0) in calc()
14531 …min[0] = result - floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc()
14532 …max[0] = result + floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc()
14548 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()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrStorageImageWriteTests.cpp434 if (deAbs(outputValue.x() - fReferenceValue) > acceptableError) in testStorageImageWrite()
443 if (deAbs( outputValue.x() - fReferenceValue) > acceptableError) in testStorageImageWrite()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp2087 else if (de::inBounds(deAbs(den), in precision()
2126 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2128 return ctx.format.ulp(ret, 2.0 + 2.0 * deAbs(x)); in precision()
2348 return deLdExp(deAbs(arg), -12); in precision()
2361 return deLdExp(deAbs(arg), -10); in precision()
3245 Abs (void) : PreciseFunc1("abs", deAbs) {} in Abs()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2722 else if (de::inBounds(deAbs(den), in precision()
2772 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision()
2775 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
2786 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
2792 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision()
3128 return deLdExp(deAbs(arg), -12); in precision()
3140 return deLdExp(deAbs(arg), -8); in precision()
3173 return deLdExp(deAbs(arg), -12); in precision()
4152 Abs (void) : PreciseFunc1<T> ("abs", deAbs) {} in Abs()
/external/deqp/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.cpp1031 if (deAbs(tfData[i] - expected) > epsilon) in verifyTransformFeedbackBuffer()