Home
last modified time | relevance | path

Searched refs:mantissaBits (Results 1 – 7 of 7) sorted by relevance

/external/deqp/framework/common/
DtcuFloat.hpp110 static Float constructBits (int sign, int exponent, StorageType mantissaBits);
118 …inline StorageType mantissaBits (void) const { return m_value & ((StorageType(1)<<MantissaBits)-1… in mantissaBits() function in tcu::Float
122 …pe mantissa (void) const { return isZero() || isDenorm() ? mantissaBits() : (mantissaBits() | (S… in mantissa()
124 … isInf (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBits() == 0; } in isInf()
125 … isNaN (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBits() != 0; } in isNaN()
126 inline bool isZero (void) const { return exponentBits() == 0 && mantissaBits() == 0; } in isZero()
127 inline bool isDenorm (void) const { return exponentBits() == 0 && mantissaBits() != 0; } in isDenorm()
255 (int sign, int exponent, StorageType mantissaBits) in constructBits() argument
262 DE_ASSERT(mantissaBits >> MantissaBits == 0); in constructBits()
264 …eType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits) | (mantissaBits))); in constructBits()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp427 const int mantissaBits = getMinMantissaBits(precision); in compare() local
428 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u; in compare()
646 const int mantissaBits = getMinMantissaBits(precision); in compare() local
647 …const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer … in compare()
648 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds in compare()
717 const int mantissaBits = getMinMantissaBits(precision); in compare() local
729 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0)); in compare()
769 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local
770 const deUint32 mantissaMask = ~getMaxUlpDiffFromBits(mantissaBits) & ((1u<<23)-1u); in getInputValues()
850 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local
[all …]
Des3fShaderPrecisionTests.cpp296 const int mantissaBits = m_precision == glu::PRECISION_HIGHP ? 23 : 10; in compare() local
297 const int numPrecBits = 52 - mantissaBits; in compare()
307 …m_testCtx.getLog() << TestLog::Message << "Assuming " << mantissaBits << " mantissa bits, " << num… in compare()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp215 float32Representation.mantissaBits() & representableMantissaMask)); in makeFloatRepresentable()
502 const int mantissaBits = getMinMantissaBits(precision); in compare() local
503 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u; in compare()
721 const int mantissaBits = getMinMantissaBits(precision); in compare() local
722 …const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer … in compare()
723 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds in compare()
792 const int mantissaBits = getMinMantissaBits(precision); in compare() local
804 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0)); in compare()
844 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local
845 const deUint32 mantissaMask = ~getMaxUlpDiffFromBits(mantissaBits) & ((1u<<23)-1u); in getInputValues()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmWorkgroupMemoryTests.cpp116 const deUint64 mantissaBits = 0x000fffffffffffff; in isNanFloat64() local
117 return ((f & exponentBits) == exponentBits && (f & mantissaBits) != 0); in isNanFloat64()
DvktSpvAsmFloatControlsTests.cpp2548 double getPrecisionAt(double value, float ulp, int mantissaBits) in getPrecisionAt() argument
2550 if (mantissaBits == 23) in getPrecisionAt()
2555 else if (mantissaBits == 52) in getPrecisionAt()
2562 DE_ASSERT(mantissaBits == 10); in getPrecisionAt()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp289 const int mantissaBits = getTextureFormatMantissaBitDepth(format).x(); in comparePixelToDepthClearValue() local
290 const int threshold = 10 * 1 << (23 - mantissaBits); in comparePixelToDepthClearValue()
292 DE_ASSERT(mantissaBits <= 23); in comparePixelToDepthClearValue()
427 const IVec4 mantissaBits (getTextureFormatMantissaBitDepth(format)); in comparePixelToColorClearValue() local
428 const IVec4 threshold (10 * IVec4(1) << (23 - mantissaBits)); in comparePixelToColorClearValue()