Searched refs:fractionBits (Results 1 – 4 of 4) sorted by relevance
/external/deqp/framework/common/ |
D | tcuFloatFormat.cpp | 51 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() 298 NormalizedFormat::NormalizedFormat (int fractionBits) in NormalizedFormat() argument 299 : FloatFormat(0, 0, fractionBits, true, tcu::YES) in NormalizedFormat() 306 const int fractionBits = getFractionBits(); in round() local 308 if (fractionBits <= 0) in round() 311 const int maxIntValue = (1 << fractionBits) - 1; in round()
|
D | tcuFloatFormat.hpp | 47 int fractionBits, 90 NormalizedFormat (int fractionBits);
|
/external/deqp/modules/glshared/ |
D | glsBuiltinPrecisionTests.cpp | 3353 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/ |
D | vktShaderBuiltinPrecisionTests.cpp | 5082 const int fractionBits = format.getFractionBits(); in genRandom() local 5089 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom() 5103 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom() 5118 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in genRandom() 5134 const int fractionBits = format.getFractionBits(); in genFixeds() local 5135 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds() 5137 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds() 5200 const int fractionBits = format.getFractionBits(); in genRandom() local 5207 DE_ASSERT(fractionBits < std::numeric_limits<float>::digits); in genRandom() 5221 quantum = deFloatLdExp(1.0f, exp - fractionBits); in genRandom() [all …]
|