Lines Matching defs:NormalFloat
30 template <typename T> struct NormalFloat {
33 "NormalFloat template parameter has to be a floating point type.");
46 "Bad type for mantissa in NormalFloat.");
50 LIBC_INLINE NormalFloat(Sign s, int32_t e, StorageType m)
60 LIBC_INLINE explicit NormalFloat(T x) { init_from_bits(FPBits<T>(x)); }
62 LIBC_INLINE explicit NormalFloat(FPBits<T> bits) { init_from_bits(bits); }
67 LIBC_INLINE int cmp(const NormalFloat<T> &other) const {
89 LIBC_INLINE NormalFloat<T> mul2(int e) const {
90 NormalFloat<T> result = *this;
182 NormalFloat<long double>::init_from_bits(FPBits<long double> bits) {
216 template <> LIBC_INLINE NormalFloat<long double>::operator long double() const {