Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp2089 deLdExp(1.0, fmt.getMinExp()), in precision()
2090 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2165 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2167 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 2.0); in precision()
2183 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 4.0); in warningPrecision()
2343 return deLdExp(1.0, -11); in precision()
2349 return deLdExp(deAbs(arg), -12); in precision()
2362 return deLdExp(deAbs(arg), -10); in precision()
2418 return deLdExp(1.0, -11); in precision()
2423 return deLdExp(1.0, -8); in precision()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2724 deLdExp(1.0, fmt.getMinExp()), in precision()
2725 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2826 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2829 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2842 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2852 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
3124 return deLdExp(1.0, -11); in precision()
3129 return deLdExp(deAbs(arg), -12); in precision()
3137 return deLdExp(1.0, -7); in precision()
3141 return deLdExp(deAbs(arg), -8); in precision()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp2724 deLdExp(1.0, fmt.getMinExp()), in precision()
2725 deLdExp(1.0, fmt.getMaxExp() - 1))) in precision()
2826 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
2829 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2842 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -7) : ctx.format.ulp(ret, 3.0); in precision()
2852 return (0.5 <= x && x <= 2.0) ? deLdExp(1.0, -21) : ctx.format.ulp(ret, 3.0); in precision()
3124 return deLdExp(1.0, -11); in precision()
3129 return deLdExp(deAbs(arg), -12); in precision()
3137 return deLdExp(1.0, -7); in precision()
3141 return deLdExp(deAbs(arg), -8); in precision()
[all …]
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h187 DE_INLINE double deLdExp (double a, int exponent) { return ldexp(a, exponent); } in deLdExp() function
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp14526 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14548 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14575 const double err = deLdExp(1.0, -7); in calc()
15001 …const double error (2 * (de::inRange(deAbs(x1d.asDouble()), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFo… in calc()
15044 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
15083 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
15313 const double ulpCnt (de::inRange(deAbs(yd), deLdExp(1, -14), deLdExp(1, 14)) ? 2.5 : unspecUlp); in calc()
15413 …const double logxeps (de::inRange(deAbs(xd), 0.5, 2.0) ? deLdExp(1.0, -7) : floatFormat16.ulp(deLo… in calc()
15530 const double result (deLdExp(xd, yd)); in calc()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp14526 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14548 …const double err (de::inRange(d, -DE_PI_DOUBLE, DE_PI_DOUBLE) ? deLdExp(1.0, -7) : floatFormat16… in calc()
14575 const double err = deLdExp(1.0, -7); in calc()
15001 …const double error (2 * (de::inRange(deAbs(x1d.asDouble()), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFo… in calc()
15044 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
15083 …const double error (de::inRange(deAbs(d), 0.5, 2.0) ? deLdExp(2.0, -7) : floatFormat16.ulp(deAbs(r… in calc()
15313 const double ulpCnt (de::inRange(deAbs(yd), deLdExp(1, -14), deLdExp(1, 14)) ? 2.5 : unspecUlp); in calc()
15413 …const double logxeps (de::inRange(deAbs(xd), 0.5, 2.0) ? deLdExp(1.0, -7) : floatFormat16.ulp(deLo… in calc()
15530 const double result (deLdExp(xd, yd)); in calc()