LLVM: lib/Support/ScaledNumber.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static uint64_t getHalf (uint64_t N)
static void appendDigit (std::string &Str, unsigned D)
static void appendNumber (std::string &Str, uint64_t N)
static bool doesRoundUp (char Digit)
static std::string toStringAPFloat (uint64_t D, int E, unsigned Precision)
static std::string stripTrailingZeros (const std::string &Float)

appendDigit()

appendNumber()

doesRoundUp()

getHalf()

stripTrailingZeros()

toStringAPFloat()

Definition at line 162 of file ScaledNumber.cpp.

References assert(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::ScaledNumberBase::countLeadingZeros64(), D(), E(), llvm::SmallVectorTemplateCommon< T, typename >::end(), Float, llvm::ScaledNumbers::MaxScale, llvm::ScaledNumbers::MinScale, and llvm::APFloatBase::x87DoubleExtended().

Referenced by llvm::ScaledNumberBase::toString().