Home
last modified time | relevance | path

Searched refs:decimal_pos (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/
Dconversions.cc409 int decimal_pos = 0; in DoubleToRadixCString() local
410 while ((decimal_part > 0.0) && (decimal_pos < kBufferSize - 1)) { in DoubleToRadixCString()
412 decimal_buffer[decimal_pos++] = in DoubleToRadixCString()
416 decimal_buffer[decimal_pos] = '\0'; in DoubleToRadixCString()
421 unsigned result_size = integer_part_size + decimal_pos; in DoubleToRadixCString()
423 if (decimal_pos > 0) result_size++; in DoubleToRadixCString()
427 if (decimal_pos > 0) builder.AddCharacter('.'); in DoubleToRadixCString()
428 builder.AddSubstring(decimal_buffer, decimal_pos); in DoubleToRadixCString()