Home
last modified time | relevance | path

Searched refs:exponentBits (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/flang/include/flang/Common/
Dreal.h122 static constexpr int exponentBits{bits - significandBits - 1 /*sign*/};
123 static constexpr int maxExponent{(1 << exponentBits) - 1};
136 static_assert(exponentBits > 1);
137 static_assert(exponentBits <= 15);
/external/deqp/framework/common/
DtcuFloat.hpp117 …inline StorageType exponentBits (void) const { return (m_value >> MantissaBits) & ((StorageType(1… in exponentBits() function in tcu::Float
121 …inline int exponent (void) const { return isDenorm() ? 1 - ExponentBias : (int)exponentBits() … in exponent()
124 …inline bool isInf (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBi… in isInf()
125 …inline bool isNaN (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBi… 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()
258 const StorageType exponentBits = static_cast<StorageType>(exponent + ExponentBias); in constructBits() local
261 DE_ASSERT(exponentBits >> ExponentBits == 0); in constructBits()
264 …return Float(StorageType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits)… in constructBits()
/external/llvm-project/flang/module/
Dieee_arithmetic.f90147 integer, parameter :: exponentBits = TOTALBITS - 1 - significand; \
148 integer, parameter :: maxExpo = shiftl(1, exponentBits) - 1; \
152 exponent = ibits(raw, significand, exponentBits); \
/external/llvm-project/flang/include/flang/Decimal/
Dbinary-floating-point.h32 using Details::exponentBits;
63 (raw_ >> significandBits) & ((1 << exponentBits) - 1)); in BiasedExponent()
/external/compiler-rt/lib/builtins/
Dfp_lib.h217 #define exponentBits (typeWidth - significandBits - 1) macro
218 #define maxExponent ((1 << exponentBits) - 1)
223 #define signBit (REP_C(1) << (significandBits + exponentBits))
Dfp_mul_impl.inc71 // have (exponentBits + 2) integral digits, all but two of which must be
75 wideMultiply(aSignificand, bSignificand << exponentBits,
/external/llvm-project/compiler-rt/lib/builtins/
Dfp_lib.h211 #define exponentBits (typeWidth - significandBits - 1) macro
212 #define maxExponent ((1 << exponentBits) - 1)
217 #define signBit (REP_C(1) << (significandBits + exponentBits))
Dfp_mul_impl.inc82 wideMultiply(aSignificand, bSignificand << exponentBits, &productHi,
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp152 static deUint32 getExponentMask (int exponentBits) in getExponentMask() argument
154 DE_ASSERT(exponentBits > 0); in getExponentMask()
155 return ((1u<<exponentBits) - 1u); in getExponentMask()
643 const int exponentBits = getExponentBits(type); in infNanRandomFloats() local
644 const deUint32 exponentMask = getExponentMask(exponentBits); in infNanRandomFloats()
659 …const deUint64 value = (sign << (numMantissaBits + exponentBits)) | (exp << numMantissaBits) | st… in infNanRandomFloats()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmWorkgroupMemoryTests.cpp115 const deUint64 exponentBits = 0x7ff0000000000000; in isNanFloat64() local
117 return ((f & exponentBits) == exponentBits && (f & mantissaBits) != 0); in isNanFloat64()
/external/llvm-project/flang/include/flang/Evaluate/
Dreal.h45 using Details::exponentBits;
286 return word_.IBITS(significandBits, exponentBits).ToUInt64(); in Exponent()
/external/llvm-project/flang/lib/Decimal/
Dbinary-to-decimal.cpp33 int lshift{x.exponentBits};
/external/llvm-project/flang/unittests/Evaluate/
Dreal.cpp95 int exponentBits{R::bits - significandBits - 1}; in basicTests() local
96 std::uint64_t maxExponent{(std::uint64_t{1} << exponentBits) - 1}; in basicTests()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp177 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits()
178 tcu::Float32(v[1]).exponentBits(), in getCompExpBits()
179 tcu::Float32(v[2]).exponentBits(), in getCompExpBits()
180 tcu::Float32(v[3]).exponentBits()); in getCompExpBits()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp207 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits()
208 tcu::Float32(v[1]).exponentBits(), in getCompExpBits()
209 tcu::Float32(v[2]).exponentBits(), in getCompExpBits()
210 tcu::Float32(v[3]).exponentBits()); in getCompExpBits()