Lines Matching refs:ExponentBias

47 template <typename StorageType_, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Fla…
57 EXPONENT_BIAS = ExponentBias,
69 …static inline Float convert (const Float<StorageType, ExponentBits, MantissaBits, ExponentBias,… in convert() argument
114 … exponent (void) const { return isDenorm() ? 1 - ExponentBias : (int)exponentBits() - ExponentB… in exponent()
135 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
136 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (void) in Float()
141 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
142 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (StorageType valu… in Float()
147 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
148 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (float value) in Float()
156 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
157 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::Float (double value) in Float()
165 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
166 inline float Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asFloat (void) co… in asFloat()
174 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
175 inline double Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::asDouble (void) … in asDouble()
183 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
184 …geType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, Mantissa… in zero()
190 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
191 …geType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, Mantissa… in inf()
197 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
198 …geType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, Mantissa… in nan()
203 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
204 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
205 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::construct in construct()
213 const bool isDenormOrZero = (exponent == 1 - ExponentBias) && (mantissa >> MantissaBits == 0); in construct()
215 … = (isShorthandZero || isDenormOrZero) ? StorageType(0) : StorageType(exponent + ExponentBias); in construct()
224 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
225 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
226 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::constructBits in constructBits()
230 const StorageType exponentBits = exponent + ExponentBias; in constructBits()
239 template <typename StorageType, int ExponentBits, int MantissaBits, int ExponentBias, deUint32 Flag…
241 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>
242 Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::convert in convert()
264 const int eMin = 1 - ExponentBias; in convert()
265 const int eMax = ((1<<ExponentBits)-2) - ExponentBias; in convert()
328 DE_ASSERT(((e + ExponentBias) & ~((1ull<<ExponentBits)-1)) == 0); in convert()
331 return Float(StorageType(s | (StorageType(e + ExponentBias) << MantissaBits) | m)); in convert()