Searched refs:RawType (Results 1 – 12 of 12) sorted by relevance
38 using RawType = common::HostUnsignedIntType<bits>; variable39 static_assert(CHAR_BIT * sizeof(RawType) >= bits);40 static constexpr RawType significandMask{(RawType{1} << significandBits) - 1};53 RawType raw() const { return raw_; } in raw()70 constexpr RawType Fraction() const { in Fraction()71 RawType sig{Significand()}; in Fraction()73 sig |= RawType{1} << significandBits; in Fraction()79 return (raw_ & ((RawType{1} << (bits - 1)) - 1)) == 0; in IsZero()115 constexpr RawType mask{significandMask >> 1}; in InsertExplicitMSB()118 raw_ |= RawType{1} << (significandBits - 1); in InsertExplicitMSB()[all …]
84 using RawType = typename RealOutputEditing<KIND>::BinaryFloatingPoint; in FormattedRealIO() local88 RawType &x{ExtractElement<RawType>(io, descriptor, subscripts)}; in FormattedRealIO()119 using RawType = typename RealOutputEditing<KIND>::BinaryFloatingPoint; in FormattedComplexIO() local122 RawType *x{&ExtractElement<RawType>(io, descriptor, subscripts)}; in FormattedComplexIO()
241 template <typename RawType>246 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;251 static const size_t kBitCount = 8*sizeof(RawType);255 std::numeric_limits<RawType>::digits - 1;290 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()297 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()304 static RawType Infinity() { in Infinity()309 static RawType Max();350 RawType value_; // The raw floating-point number.
1728 template <typename RawType>1731 RawType lhs_value, in CmpHelperFloatingPointEQ()1732 RawType rhs_value) { in CmpHelperFloatingPointEQ()1733 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()1740 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()1744 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
45 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local47 return RawType.getLength(); in getTypeLength()
53 typedef typename std::remove_reference<T>::type RawType; typedef54 typedef typename QualTag::template apply<RawType>::type CVType;
348 using Raw = typename Real::RawType; in RemoveLeastOrderZeroDigits()
303 using Raw = typename Binary::RawType; in ToBinary()
1178 const Metadata *RawType = getRawType(); in getSizeInBits() local1179 while (RawType) { in getSizeInBits()1181 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()1185 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits()1187 RawType = DT->getRawBaseType(); in getSizeInBits()
1390 template <typename RawType>1393 RawType val1, in FloatingPointLE()1394 RawType val2) { in FloatingPointLE()1401 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()1411 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()1415 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
703 B value{word_.template ToUInt<typename B::RawType>()}; in AsFortran()
929 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local931 return RawType.getLength(); in getTypeLength()