Home
last modified time | relevance | path

Searched refs:deLdExp (Results 1 – 5 of 5) sorted by relevance

/external/deqp/framework/common/
DtcuFloatFormat.cpp53 return (deLdExp(1.0, maxExp) + in computeMaxValue()
54 deLdExp(double((1ull << fractionBits) - 1), maxExp - fractionBits)); in computeMaxValue()
106 return deLdExp(1.0, m_maxExp - m_fractionBits); in ulp()
120 const double oneULP = deLdExp(1.0, exp - m_fractionBits); in ulp()
146 const double shiftFrac = deLdExp(frac, shift); in round()
149 return deLdExp(roundFrac, exp - shift); in round()
239 const deUint64 bits = deUint64(deLdExp(frac, shift)); in floatToHex()
311 double p (int e) const { return deLdExp(1.0, e); } in p()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp2088 deLdExp(1.0, fmt.getMinExp()), in precision()
2089 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2164 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2166 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 2.0); in precision()
2182 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 4.0); in warningPrecision()
2342 return deLdExp(1.0, -11); in precision()
2348 return deLdExp(deAbs(arg), -12); in precision()
2361 return deLdExp(deAbs(arg), -10); in precision()
2417 return deLdExp(1.0, -11); in precision()
2422 return deLdExp(1.0, -8); in precision()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2522 deLdExp(1.0, fmt.getMinExp()), in precision()
2523 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2654 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2656 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 2.0); in precision()
2660 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); // float16bit in precision()
2673 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2945 return deLdExp(1.0, -11); in precision_legacy()
2951 return deLdExp(deAbs(arg), -12); in precision_legacy()
2964 return deLdExp(deAbs(arg), -10); in precision_legacy()
2995 return deLdExp(1.0, -11); in precision()
[all …]
/external/deqp/framework/delibs/debase/
DdeMath.h110 DE_INLINE double deLdExp (double a, int exponent) { return ldexp(a, exponent); } in deLdExp() function
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp12525 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
12547 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
12574 const double err = deLdExp(1.0, -7); in calc()
13000 …const double error (2 * (de::inRange(deAbs(x1d.asDouble()), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFo… in calc()
13043 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
13082 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
13312 const double ulpCnt (de::inRange(deAbs(yd), deLdExp(1, -14), deLdExp(1, 14)) ? 2.5 : unspecUlp); in calc()
13412 …const double logxeps (de::inRange(deAbs(xd), 0.5, 2.0) ? deLdExp(1.0, -7) : floatFormat16.ulp(deLo… in calc()
13529 const double result (deLdExp(xd, yd)); in calc()