~ubuntu-branches/ubuntu/wily/qtdeclarative-opensource-src/wily-proposed

« back to all changes in this revision

Viewing changes to src/3rdparty/double-conversion/strtod.cc

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Ricardo Salveti de Araujo, Timo Jyrinki
  • Date: 2014-06-19 02:39:21 UTC
  • mfrom: (0.1.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140619023921-yb2oasnuetz9b0fc
Tags: 5.3.0-3ubuntu4
[ Ricardo Salveti de Araujo ]
* debian/control:
  - Updating dependencies as we now also have libqt5quickwidgets5-gles
* libqt5quickwidgets5.symbols: updating to allow gles variant

[ Timo Jyrinki ]
* Update libqt5quickparticles5.symbols from build logs

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
  Vector<const char> right_trimmed = TrimTrailingZeros(left_trimmed);
138
138
  exponent += left_trimmed.length() - right_trimmed.length();
139
139
  if (right_trimmed.length() > kMaxSignificantDecimalDigits) {
140
 
    (void)space_size; // Silence unused parameter warning in release build
 
140
    (void) space_size;  // Mark variable as used.
141
141
    ASSERT(space_size >= kMaxSignificantDecimalDigits);
142
142
    CutToMaxSignificantDigits(right_trimmed, exponent,
143
143
                              buffer_copy_space, updated_exponent);
264
264
    case 7: return DiyFp(UINT64_2PART_C(0x98968000, 00000000), -40);
265
265
    default:
266
266
      UNREACHABLE();
267
 
      return DiyFp(0, 0);
268
267
  }
269
268
}
270
269
 
516
515
    double double_next2 = Double(double_next).NextDouble();
517
516
    f4 = static_cast<float>(double_next2);
518
517
  }
519
 
  (void)f2; // Silence unused parameter warning in release builds
 
518
  (void) f2;  // Mark variable as used.
520
519
  ASSERT(f1 <= f2 && f2 <= f3 && f3 <= f4);
521
520
 
522
521
  // If the guess doesn't lie near a single-precision boundary we can simply