Searched refs:mantissaBits (Results 1 – 6 of 6) sorted by relevance
/external/deqp/framework/common/ |
D | tcuFloat.hpp | 103 static Float constructBits (int sign, int exponent, StorageType mantissaBits); 111 …inline StorageType mantissaBits (void) const { return m_value & ((StorageType(1)<<MantissaBits)-1… in mantissaBits() function in tcu::Float 115 …pe mantissa (void) const { return isZero() || isDenorm() ? mantissaBits() : (mantissaBits() | (S… in mantissa() 117 … isInf (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBits() == 0; } in isInf() 118 … isNaN (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBits() != 0; } in isNaN() 119 inline bool isZero (void) const { return exponentBits() == 0 && mantissaBits() == 0; } in isZero() 120 inline bool isDenorm (void) const { return exponentBits() == 0 && mantissaBits() != 0; } in isDenorm() 227 (int sign, int exponent, StorageType mantissaBits) in constructBits() argument 234 DE_ASSERT(mantissaBits >> MantissaBits == 0); in constructBits() 236 …eType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits) | (mantissaBits))); in constructBits()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderCommonFunctionTests.cpp | 464 const int mantissaBits = getMinMantissaBits(precision); in compare() local 465 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u; in compare() 683 const int mantissaBits = getMinMantissaBits(precision); in compare() local 684 …const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer … in compare() 685 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds in compare() 754 const int mantissaBits = getMinMantissaBits(precision); in compare() local 766 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0)); in compare() 806 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local 807 const deUint32 mantissaMask = ~getMaxUlpDiffFromBits(mantissaBits) & ((1u<<23)-1u); in getInputValues() 887 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local [all …]
|
D | es3fShaderPrecisionTests.cpp | 296 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/ |
D | es31fShaderCommonFunctionTests.cpp | 228 float32Representation.mantissaBits() & representableMantissaMask)); in makeFloatRepresentable() 542 const int mantissaBits = getMinMantissaBits(precision); in compare() local 543 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u; in compare() 761 const int mantissaBits = getMinMantissaBits(precision); in compare() local 762 …const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer … in compare() 763 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds in compare() 832 const int mantissaBits = getMinMantissaBits(precision); in compare() local 844 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0)); in compare() 884 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local 885 const deUint32 mantissaMask = ~getMaxUlpDiffFromBits(mantissaBits) & ((1u<<23)-1u); in getInputValues() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 232 float32Representation.mantissaBits() & representableMantissaMask)); in makeFloatRepresentable() 617 const int mantissaBits = getMinMantissaBits(precision); in compare() local 618 const deUint32 maxUlpDiff = (1u<<(23-mantissaBits))-1u; in compare() 864 const int mantissaBits = getMinMantissaBits(precision); in compare() local 865 …const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(mantissaBits); // ULP diff for rounded integer … in compare() 866 const float eps = getEpsFromBits(1.0f, mantissaBits); // epsilon for rounding bounds in compare() 948 const int mantissaBits = getMinMantissaBits(precision); in compare() local 960 const deUint32 maxUlpDiff = getMaxUlpDiffFromBits(de::max(mantissaBits - bitsLost, 0)); in compare() 1010 const int mantissaBits = getMinMantissaBits(precision); in getInputValues() local 1011 const deUint32 mantissaMask = ~getMaxUlpDiffFromBits(mantissaBits) & ((1u<<23)-1u); in getInputValues() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 286 const int mantissaBits = getTextureFormatMantissaBitDepth(format).x(); in comparePixelToDepthClearValue() local 287 const int threshold = 10 * 1 << (23 - mantissaBits); in comparePixelToDepthClearValue() 289 DE_ASSERT(mantissaBits <= 23); in comparePixelToDepthClearValue() 424 const IVec4 mantissaBits (getTextureFormatMantissaBitDepth(format)); in comparePixelToColorClearValue() local 425 const IVec4 threshold (10 * IVec4(1) << (23 - mantissaBits)); in comparePixelToColorClearValue()
|