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

Side by Side Diff: src/fast-dtoa.h

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/extensions/trigger-failure-extension.cc ('k') | src/fixed-dtoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FAST_DTOA_H_ 5 #ifndef V8_FAST_DTOA_H_
6 #define V8_FAST_DTOA_H_ 6 #define V8_FAST_DTOA_H_
7 7
8 #include "src/vector.h"
9
8 namespace v8 { 10 namespace v8 {
9 namespace internal { 11 namespace internal {
10 12
11 enum FastDtoaMode { 13 enum FastDtoaMode {
12 // Computes the shortest representation of the given input. The returned 14 // Computes the shortest representation of the given input. The returned
13 // result will be the most accurate number of this length. Longer 15 // result will be the most accurate number of this length. Longer
14 // representations might be more accurate. 16 // representations might be more accurate.
15 FAST_DTOA_SHORTEST, 17 FAST_DTOA_SHORTEST,
16 // Computes a representation where the precision (number of digits) is 18 // Computes a representation where the precision (number of digits) is
17 // given as input. The precision is independent of the decimal point. 19 // given as input. The precision is independent of the decimal point.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool FastDtoa(double d, 53 bool FastDtoa(double d,
52 FastDtoaMode mode, 54 FastDtoaMode mode,
53 int requested_digits, 55 int requested_digits,
54 Vector<char> buffer, 56 Vector<char> buffer,
55 int* length, 57 int* length,
56 int* decimal_point); 58 int* decimal_point);
57 59
58 } } // namespace v8::internal 60 } } // namespace v8::internal
59 61
60 #endif // V8_FAST_DTOA_H_ 62 #endif // V8_FAST_DTOA_H_
OLDNEW
« no previous file with comments | « src/extensions/trigger-failure-extension.cc ('k') | src/fixed-dtoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698