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()
347 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.cpp2723 deLdExp(1.0, fmt.getMinExp()), in precision()
2724 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2825 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2828 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2841 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2851 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
3123 return deLdExp(1.0, -11); in precision()
3128 return deLdExp(deAbs(arg), -12); in precision()
3136 return deLdExp(1.0, -7); in precision()
3140 return deLdExp(deAbs(arg), -8); 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.cpp14440 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14462 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14489 const double err = deLdExp(1.0, -7); in calc()
14915 …const double error (2 * (de::inRange(deAbs(x1d.asDouble()), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFo… in calc()
14958 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
14997 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
15227 const double ulpCnt (de::inRange(deAbs(yd), deLdExp(1, -14), deLdExp(1, 14)) ? 2.5 : unspecUlp); in calc()
15327 …const double logxeps (de::inRange(deAbs(xd), 0.5, 2.0) ? deLdExp(1.0, -7) : floatFormat16.ulp(deLo… in calc()
15444 const double result (deLdExp(xd, yd)); in calc()