Home
last modified time | relevance | path

Searched refs:maxExp (Results 1 – 10 of 10) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuFloatFormat.cpp51 double computeMaxValue (int maxExp, int fractionBits) in computeMaxValue() argument
53 return (deLdExp(1.0, maxExp) + in computeMaxValue()
54 deLdExp(double((1ull << fractionBits) - 1), maxExp - fractionBits)); in computeMaxValue()
60 int maxExp, in FloatFormat() argument
67 , m_maxExp (maxExp) in FloatFormat()
73 , m_maxValue (computeMaxValue(maxExp, fractionBits)) in FloatFormat()
75 DE_ASSERT(minExp <= maxExp); in FloatFormat()
DtcuFloatFormat.hpp46 int maxExp,
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderPackingFunctionTests.cpp531 const int maxExp = 15; in iterate() local
539 const int exp = rnd.getInt(minExp, maxExp); in iterate()
636 const int maxExp = 15; in iterate() local
645 const int exp = rnd.getInt(minExp, maxExp); in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderPackingFunctionTests.cpp531 const int maxExp = 15; in iterate() local
539 const int exp = rnd.getInt(minExp, maxExp); in iterate()
636 const int maxExp = 15; in iterate() local
645 const int exp = rnd.getInt(minExp, maxExp); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp598 const int maxExp = 15; in iterate() local
606 const int exp = rnd.getInt(minExp, maxExp); in iterate()
716 const int maxExp = 15; in iterate() local
747 const int exp = rnd.getInt(minExp, maxExp); in iterate()
DvktShaderBuiltinPrecisionTests.cpp4573 const int maxExp = ctx.format.getMaxExp(); in doApply() local
4576 bool any = iargs.a.hasNaN() || iargs.b.hi() > (maxExp + 1); in doApply()
4588 const int maxExp = ctx.format.getMaxExp(); in doApply() local
4591 bool any = iargs.a.hasNaN() || iargs.b.hi() > (maxExp + 1); in doApply()
5725 const int maxExp = format.getMaxExp(); in randomDouble() local
5732 const double maxRoot = deCbrt(maxExp + 0.5); in randomDouble()
5789 const int maxExp = format.getMaxExp(); in genFixeds() local
5793 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
5813 dst.push_back((float)sign * (deFloatLdExp(1.0f, maxExp) + in genFixeds()
5814 (deFloatLdExp(1.0f, maxExp) - maxQuantum))); in genFixeds()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp598 const int maxExp = 15; in iterate() local
606 const int exp = rnd.getInt(minExp, maxExp); in iterate()
716 const int maxExp = 15; in iterate() local
747 const int exp = rnd.getInt(minExp, maxExp); in iterate()
DvktShaderBuiltinPrecisionTests.cpp4573 const int maxExp = ctx.format.getMaxExp(); in doApply() local
4576 bool any = iargs.a.hasNaN() || iargs.b.hi() > (maxExp + 1); in doApply()
4588 const int maxExp = ctx.format.getMaxExp(); in doApply() local
4591 bool any = iargs.a.hasNaN() || iargs.b.hi() > (maxExp + 1); in doApply()
5725 const int maxExp = format.getMaxExp(); in randomDouble() local
5732 const double maxRoot = deCbrt(maxExp + 0.5); in randomDouble()
5789 const int maxExp = format.getMaxExp(); in genFixeds() local
5793 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
5813 dst.push_back((float)sign * (deFloatLdExp(1.0f, maxExp) + in genFixeds()
5814 (deFloatLdExp(1.0f, maxExp) - maxQuantum))); in genFixeds()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp4266 const int maxExp = format.getMaxExp(); in genRandom() local
4272 const double maxRoot = deCbrt(maxExp + 0.5); in genRandom()
4331 const int maxExp = format.getMaxExp(); in genFixeds() local
4335 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
4361 dst.push_back((float)sign * (deFloatLdExp(1.0f, maxExp) + in genFixeds()
4362 (deFloatLdExp(1.0f, maxExp) - maxQuantum))); in genFixeds()
/third_party/glslang/glslang/MachineIndependent/
DIntermediate.cpp2631 int maxExp = baseType == EbtFloat ? 127 : 15; in addConstantUnion() local
2632 if (exponent > maxExp) { //overflow, d = inf in addConstantUnion()