reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/ScaledNumber.cpp
  241     appendNumber(Str, Above0);
  242     DigitsOut = Str.size();
  244     appendDigit(Str, 0);
  245   std::reverse(Str.begin(), Str.end());
  245   std::reverse(Str.begin(), Str.end());
  249     return Str + ".0";
  252   Str += '.';
  260   size_t AfterDot = Str.size();
  272     appendDigit(Str, Below0 >> 60);
  274     if (DigitsOut || Str.back() != '0')
  282     return stripTrailingZeros(Str);
  286       std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1);
  289   if (Truncate >= Str.size())
  290     return stripTrailingZeros(Str);
  292   bool Carry = doesRoundUp(Str[Truncate]);
  294     return stripTrailingZeros(Str.substr(0, Truncate));
  297   for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend();
  297   for (std::string::reverse_iterator I(Str.begin() + Truncate), E = Str.rend();
  312   return stripTrailingZeros(std::string(Carry, '1') + Str.substr(0, Truncate));