| OLD | NEW |
| 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" | 8 #include "src/vector.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // If there are two values that are equally close, then FastDtoa returns | 50 // If there are two values that are equally close, then FastDtoa returns |
| 51 // false. | 51 // false. |
| 52 // For both modes the buffer must be large enough to hold the result. | 52 // For both modes the buffer must be large enough to hold the result. |
| 53 bool FastDtoa(double d, | 53 bool FastDtoa(double d, |
| 54 FastDtoaMode mode, | 54 FastDtoaMode mode, |
| 55 int requested_digits, | 55 int requested_digits, |
| 56 Vector<char> buffer, | 56 Vector<char> buffer, |
| 57 int* length, | 57 int* length, |
| 58 int* decimal_point); | 58 int* decimal_point); |
| 59 | 59 |
| 60 } } // namespace v8::internal | 60 } // namespace internal |
| 61 } // namespace v8 |
| 61 | 62 |
| 62 #endif // V8_FAST_DTOA_H_ | 63 #endif // V8_FAST_DTOA_H_ |
| OLD | NEW |