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

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

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/field-index-inl.h ('k') | src/flags.h » ('j') | src/objects.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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_FIXED_DTOA_H_ 5 #ifndef V8_FIXED_DTOA_H_
6 #define V8_FIXED_DTOA_H_ 6 #define V8_FIXED_DTOA_H_
7 7
8 #include "src/vector.h" 8 #include "src/vector.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 11 matching lines...) Expand all
22 // Halfway cases are rounded towards +/-Infinity (away from 0). The call 22 // Halfway cases are rounded towards +/-Infinity (away from 0). The call
23 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0. 23 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
24 // The returned buffer may contain digits that would be truncated from the 24 // The returned buffer may contain digits that would be truncated from the
25 // shortest representation of the input. 25 // shortest representation of the input.
26 // 26 //
27 // This method only works for some parameters. If it can't handle the input it 27 // This method only works for some parameters. If it can't handle the input it
28 // returns false. The output is null-terminated when the function succeeds. 28 // returns false. The output is null-terminated when the function succeeds.
29 bool FastFixedDtoa(double v, int fractional_count, 29 bool FastFixedDtoa(double v, int fractional_count,
30 Vector<char> buffer, int* length, int* decimal_point); 30 Vector<char> buffer, int* length, int* decimal_point);
31 31
32 } } // namespace v8::internal 32 } // namespace internal
33 } // namespace v8
33 34
34 #endif // V8_FIXED_DTOA_H_ 35 #endif // V8_FIXED_DTOA_H_
OLDNEW
« no previous file with comments | « src/field-index-inl.h ('k') | src/flags.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698