Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: runtime/vm/double_conversion.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/disassembler_x64.cc ('k') | runtime/vm/dwarf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/double_conversion.cc
diff --git a/runtime/vm/double_conversion.cc b/runtime/vm/double_conversion.cc
index 4490d5faf0ab5762fad45294f2234d3ee6c82eeb..1cd64596ac719efc484e2de76d8049ef5b875577 100644
--- a/runtime/vm/double_conversion.cc
+++ b/runtime/vm/double_conversion.cc
@@ -90,7 +90,6 @@ RawString* DoubleToStringAsFixed(double d, int fraction_digits) {
return String::New(builder.Finalize());
}
-
RawString* DoubleToStringAsExponential(double d, int fraction_digits) {
static const int kMinFractionDigits = -1; // -1 represents shortest mode.
static const int kMaxFractionDigits = 20;
@@ -121,7 +120,6 @@ RawString* DoubleToStringAsExponential(double d, int fraction_digits) {
return String::New(builder.Finalize());
}
-
RawString* DoubleToStringAsPrecision(double d, int precision) {
static const int kMinPrecisionDigits = 1;
static const int kMaxPrecisionDigits = 21;
@@ -158,7 +156,6 @@ RawString* DoubleToStringAsPrecision(double d, int precision) {
return String::New(builder.Finalize());
}
-
bool CStringToDouble(const char* str, intptr_t length, double* result) {
if (length == 0) {
return false;
@@ -174,5 +171,4 @@ bool CStringToDouble(const char* str, intptr_t length, double* result) {
return (parsed_count == length);
}
-
} // namespace dart
« no previous file with comments | « runtime/vm/disassembler_x64.cc ('k') | runtime/vm/dwarf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698