Lines Matching refs:ExponentBits
54 template <typename StorageType_, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Fla…
62 EXPONENT_BITS = ExponentBits,
76 …static inline Float convert (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias,… in convert() argument
116 …inline int signBit (void) const { return (int)(m_value >> (ExponentBits+MantissaBits)) & 1; … in signBit()
117 …xponentBits (void) const { return (m_value >> MantissaBits) & ((StorageType(1)<<ExponentBits)-1); } in exponentBits()
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()
129 …inline bool operator< (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flag… in operator <() argument
149 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
150 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (void) in Float()
155 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
156 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (StorageType valu… in Float()
161 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
162 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (float value, Rou… in Float()
170 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
171 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (double value, Ro… in Float()
179 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
180 inline float Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asFloat (void) co… in asFloat()
188 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
189 inline double Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asDouble (void) … in asDouble()
197 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
198 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in zero()
201 return Float(StorageType((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits))); in zero()
204 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
205 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in inf()
208 …rn Float(StorageType(((sign > 0 ? 0ull : 1ull) << (ExponentBits+MantissaBits)) | (((1ull<<Exponent… in inf()
211 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
212 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in nan()
214 return Float(StorageType((1ull<<(ExponentBits+MantissaBits))-1)); in nan()
217 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
218 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in largestNormal()
221 …return Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::construct(sign, Expone… in largestNormal()
224 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
225 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, Expon… in smallestNormal()
228 …return Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::construct(sign, 1 - Ex… in smallestNormal()
231 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
232 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
233 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::construct in construct()
242 …const StorageType s = StorageType((StorageType(sign < 0 ? 1 : 0)) << (StorageType(ExponentBits+… in construct()
247 DE_ASSERT(exp >> ExponentBits == 0); in construct()
252 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
253 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
254 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::constructBits in constructBits()
261 DE_ASSERT(exponentBits >> ExponentBits == 0); in constructBits()
264 …return Float(StorageType((signBit << (ExponentBits+MantissaBits)) | (exponentBits << MantissaBits)… in constructBits()
267 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
269 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
270 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert in convert()
295 const int eMax = ((1<<ExponentBits)-2) - ExponentBias; in convert()
297 …const StorageType s = StorageType((StorageType(other.signBit())) << (StorageType(ExponentBits+Man… in convert()
409 DE_ASSERT(((e + ExponentBias) & ~((1ull<<ExponentBits)-1)) == 0); in convert()