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

References

lib/Support/APFloat.cpp
  373   D->firstSigDigit = p;
  377   for (; p != end; ++p) {
  377   for (; p != end; ++p) {
  378     if (*p == '.') {
  380       dot = p++;
  381       if (p == end)
  384     if (decDigitValue(*p) >= 10U)
  388   if (p != end) {
  389     assert((*p == 'e' || *p == 'E') && "Invalid character in significand");
  389     assert((*p == 'e' || *p == 'E') && "Invalid character in significand");
  390     assert(p != begin && "Significand has no digits");
  391     assert((dot == end || p - begin != 1) && "Significand has no digits");
  394     D->exponent = readExponent(p + 1, end);
  398       dot = p;
  402   if (p != D->firstSigDigit) {
  404     if (p != begin) {
  407           p--;
  408         while (p != begin && *p == '0');
  408         while (p != begin && *p == '0');
  409       while (p != begin && *p == '.');
  409       while (p != begin && *p == '.');
  413     D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p));
  413     D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p));
  415               static_cast<APFloat::ExponentType>((p - D->firstSigDigit)
  416                                       - (dot > D->firstSigDigit && dot < p)));
  419   D->lastSigDigit = p;