Home
last modified time | relevance | path

Searched refs:fractionBits (Results 1 – 4 of 4) sorted by relevance

/external/deqp/framework/common/
DtcuFloatFormat.cpp51 double computeMaxValue (int maxExp, int fractionBits) in computeMaxValue() argument
54 deLdExp(double((1ull << fractionBits) - 1), maxExp - fractionBits)); in computeMaxValue()
61 int fractionBits, in FloatFormat() argument
68 , m_fractionBits (fractionBits) in FloatFormat()
73 , m_maxValue (computeMaxValue(maxExp, fractionBits)) in FloatFormat()
DtcuFloatFormat.hpp48 int fractionBits,
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp4122 const int fractionBits = format.getFractionBits(); in genRandom() local
4129 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
4145 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
4151 quantum = deFloatLdExp(1.0f, minExp - fractionBits); in genRandom()
4167 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom()
4181 const int fractionBits = format.getFractionBits(); in genFixeds() local
4182 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds()
4184 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp4071 const int fractionBits = format.getFractionBits(); in genRandom() local
4078 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
4094 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
4100 quantum = deFloatLdExp(1.0f, minExp - fractionBits); in genRandom()
4116 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom()
4130 const int fractionBits = format.getFractionBits(); in genFixeds() local
4131 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds()
4133 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()