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 | 5699 const int fractionBits = format.getFractionBits(); in randomDouble() local 5712 DE_ASSERT(fractionBits < std::numeric_limits<double>::digits); in randomDouble() 5716 …double quantum = deLdExp(1.0, exp - fractionBits); // smallest representable difference in the bin… in randomDouble() 5731 deUint64 intFraction = rnd.getUint64() & ((1 << fractionBits) - 1); in randomDouble() 5756 const int fractionBits = format.getFractionBits(); in genFixeds() local 5757 const float minQuantum = deFloatLdExp(1.0f, minExp - fractionBits); in genFixeds() 5759 const float maxQuantum = deFloatLdExp(1.0f, maxExp - fractionBits); in genFixeds() 5815 const int fractionBits = format.getFractionBits(); in genFixeds() local 5816 const double minQuantum = deLdExp(1.0, minExp - fractionBits); in genFixeds() 5818 const double maxQuantum = deLdExp(1.0, maxExp - fractionBits); in genFixeds() [all …]
|