double-conversion / src / fast-dtoa.h

The branch 'single' does not exist.
Diff from to

File src/fast-dtoa.h

   // result will be the most accurate number of this length. Longer
   // representations might be more accurate.
+  // Same as FAST_DTOA_SHORTEST but for single-precision floats.
   // Computes a representation where the precision (number of digits) is
   // given as input. The precision is independent of the decimal point.
 // FastDtoa will produce at most kFastDtoaMaximalLength digits. This does not
 // include the terminating '\0' character.
 static const int kFastDtoaMaximalLength = 17;
+// Same for single-precision numbers.
+static const int kFastDtoaMaximalSingleLength = 9;
 // Provides a decimal representation of v.
 // The result should be interpreted as buffer * 10^(point - length).