Searched refs:deAbs (Results 1 – 6 of 6) sorted by relevance
/external/deqp/framework/common/ |
D | tcuFloatFormat.cpp | 101 const double frac = deFractExp(deAbs(x), &exp); in ulp() 237 const double frac = deFractExp(deAbs(x), &exp); in floatToHex()
|
/external/deqp/framework/delibs/debase/ |
D | deMath.h | 79 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/spirv_assembly/ |
D | vktSpvAsmInstructionTests.cpp | 3560 int index4 = (int)deFloor(deAbs((float)ndx * inputFloats[ndx])); in createOpPhiGroup() 12275 …virtual double getMin (double value, double ulps) { return value - floatFormat16.ulp(deAbs(v… in getMin() 12276 …virtual double getMax (double value, double ulps) { return value + floatFormat16.ulp(deAbs(v… in getMax() 12387 const double result (deAbs(d)); in calc() 12525 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc() 12547 …ge(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16.ulp(deAbs(result), unspecUlp… in calc() 12612 if (!x.isNaN() && deAbs(d) > 1.0) in calc() 12616 …min[0] = result - floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc() 12617 …max[0] = result + floatFormat16.ulp(deAbs(error), 2 * 5.0); // This is not a precision test. Value… in calc() 12633 if (!x.isNaN() && deAbs(d) > 1.0) in calc() [all …]
|
D | vktSpvAsmFloatControlsTests.cpp | 2004 if (deAbs(returnedFloat.asDouble() - piDiv2) < precision) in isAcosResultCorrect() 2020 if (deAbs(returnedFloat.asDouble() - expected) < precision) in isCosResultCorrect()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 2521 else if (de::inBounds(deAbs(den), in precision() 2573 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision_legacy() 2575 return ctx.format.ulp(ret, 2.0 + 2.0 * deAbs(x)); in precision_legacy() 2603 return ctx.format.ulp(ret, 3.0 + 2.0 * deAbs(x)); in precision() 2607 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision() 2618 return ctx.format.ulp(ret, 1.0 + 2.0 * deAbs(x)); in precision() 2951 return deLdExp(deAbs(arg), -12); in precision_legacy() 2964 return deLdExp(deAbs(arg), -10); in precision_legacy() 4009 Abs (void) : PreciseFunc1<T> ("abs", deAbs) {} in Abs() 4180 …ntains(Interval(ret.hasNaN(), 0.0, 0.0)) && (deAbs(args.b.hi()) <= deAbs(hi) || deAbs(args.b.hi())… in doFail() [all …]
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 2087 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()
|