Searched defs:fractionBits (Results 1 - 3 of 3) sorted by relevance

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

Completed in 167 milliseconds