/external/llvm-project/flang/include/flang/Common/ |
D | real.h | 122 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/ |
D | tcuFloat.hpp | 117 …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/ |
D | ieee_arithmetic.f90 | 147 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/ |
D | binary-floating-point.h | 32 using Details::exponentBits; 63 (raw_ >> significandBits) & ((1 << exponentBits) - 1)); in BiasedExponent()
|
/external/compiler-rt/lib/builtins/ |
D | fp_lib.h | 217 #define exponentBits (typeWidth - significandBits - 1) macro 218 #define maxExponent ((1 << exponentBits) - 1) 223 #define signBit (REP_C(1) << (significandBits + exponentBits))
|
D | fp_mul_impl.inc | 71 // have (exponentBits + 2) integral digits, all but two of which must be 75 wideMultiply(aSignificand, bSignificand << exponentBits,
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | fp_lib.h | 211 #define exponentBits (typeWidth - significandBits - 1) macro 212 #define maxExponent ((1 << exponentBits) - 1) 217 #define signBit (REP_C(1) << (significandBits + exponentBits))
|
D | fp_mul_impl.inc | 82 wideMultiply(aSignificand, bSignificand << exponentBits, &productHi,
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderCommonFunctionTests.cpp | 152 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/ |
D | vktSpvAsmWorkgroupMemoryTests.cpp | 115 const deUint64 exponentBits = 0x7ff0000000000000; in isNanFloat64() local 117 return ((f & exponentBits) == exponentBits && (f & mantissaBits) != 0); in isNanFloat64()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | real.h | 45 using Details::exponentBits; 286 return word_.IBITS(significandBits, exponentBits).ToUInt64(); in Exponent()
|
/external/llvm-project/flang/lib/Decimal/ |
D | binary-to-decimal.cpp | 33 int lshift{x.exponentBits};
|
/external/llvm-project/flang/unittests/Evaluate/ |
D | real.cpp | 95 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/ |
D | vktShaderRenderDerivateTests.cpp | 177 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/ |
D | es3fShaderDerivateTests.cpp | 207 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()
|