Home
last modified time | relevance | path

Searched refs:fractionBits (Results 1 – 3 of 3) 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.cpp4083 const int fractionBits = format.getFractionBits(); in genRandom() local
4090 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom()
4106 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom()
4112 quantum = deFloatLdExp(1.0f, minExp - fractionBits); in genRandom()
4128 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom()
4142 const int fractionBits = format.getFractionBits(); in genFixeds() local
4143 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds()
4145 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds()