Lines Matching refs:ExponentBits
47 template <typename StorageType_, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Fla…
55 EXPONENT_BITS = ExponentBits,
69 …static inline Float convert (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias,… in convert() argument
109 …inline int signBit (void) const { return (int)(m_value >> (ExponentBits+MantissaBits)) & 1; … in signBit()
110 …xponentBits (void) const { return (m_value >> MantissaBits) & ((StorageType(1)<<ExponentBits)-1); } in exponentBits()
117 …inline bool isInf (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBi… in isInf()
118 …inline bool isNaN (void) const { return exponentBits() == ((1<<ExponentBits)-1) && mantissaBi… in isNaN()
137 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
138 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (void) in Float()
143 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
144 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (StorageType valu… in Float()
149 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
150 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (float value) in Float()
158 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
159 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (double value) in Float()
167 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
168 inline float Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asFloat (void) co… in asFloat()
176 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
177 inline double Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asDouble (void) … in asDouble()
185 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
186 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in zero()
189 return Float(StorageType((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits))); in zero()
192 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
193 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in inf()
196 …rn Float(StorageType(((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits)) | (((1ull<<Exponent… in inf()
199 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
200 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in nan()
202 return Float(StorageType((1ull<<(ExponentBits+MantissaBits))-1)); in nan()
205 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
206 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
207 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::construct in construct()
216 …const StorageType s = StorageType((StorageType(sign < 0 ? 1 : 0)) << (StorageType(ExponentBits+… in construct()
221 DE_ASSERT(exp >> ExponentBits == 0); in construct()
226 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
227 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
228 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::constructBits in constructBits()
235 DE_ASSERT(exponentBits >> ExponentBits == 0); in constructBits()
238 …return Float(StorageType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits)… in constructBits()
241 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
243 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
244 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert in convert()
267 const int eMax = ((1<<ExponentBits)-2) - ExponentBias; in convert()
269 …const StorageType s = StorageType((StorageType(other.signBit())) << (StorageType(ExponentBits+Man… in convert()
330 DE_ASSERT(((e + ExponentBias) & ~((1ull<<ExponentBits)-1)) == 0); in convert()