FLANG
Public Types | Public Member Functions | Static Public Attributes | List of all members
Fortran::decimal::IntermediateFloat< PREC > Class Template Reference

Public Types

using IntType = common::HostUnsignedIntType< precision >
 

Public Member Functions

 IntermediateFloat (const IntermediateFloat &)=default
 
template<typename UINT >
RT_API_ATTRS bool SetTo (UINT n)
 
RT_API_ATTRS void ShiftIn (int bit=0)
 
RT_API_ATTRS bool IsFull () const
 
RT_API_ATTRS void AdjustExponent (int by)
 
RT_API_ATTRS void SetGuard (int g)
 
RT_API_ATTRS ConversionToBinaryResult< PREC > ToBinary (bool isNegative, FortranRounding) const
 

Static Public Attributes

static constexpr int precision {PREC}
 
static constexpr IntType topBit {IntType{1} << (precision - 1)}
 
static constexpr IntType mask {topBit + (topBit - 1)}
 

The documentation for this class was generated from the following file: