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.hpp47 int fractionBits,
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp3353 const int fractionBits = ctx.format.getFractionBits(); in compare() local
3354 const double minQuantum = deLdExp(1.0f, minExp - fractionBits); in compare()
4272 const int fractionBits = format.getFractionBits(); in genRandom() local
4279 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
4295 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
4301 quantum = deFloatLdExp(1.0f, minExp - fractionBits); in genRandom()
4317 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom()
4331 const int fractionBits = format.getFractionBits(); in genFixeds() local
4332 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds()
4334 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5392 const int fractionBits = format.getFractionBits(); in genRandom() local
5399 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
5415 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
5430 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom()
5468 const int fractionBits = format.getFractionBits(); in genFixeds() local
5469 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds()
5471 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()
5535 const int fractionBits = format.getFractionBits(); in genRandom() local
5542 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
5556 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
[all …]