OLD | NEW |
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_STRTOD_H_ | 5 #ifndef V8_STRTOD_H_ |
6 #define V8_STRTOD_H_ | 6 #define V8_STRTOD_H_ |
7 | 7 |
8 #include "src/vector.h" | 8 #include "src/vector.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // The buffer must only contain digits in the range [0-9]. It must not | 13 // The buffer must only contain digits in the range [0-9]. It must not |
14 // contain a dot or a sign. It must not start with '0', and must not be empty. | 14 // contain a dot or a sign. It must not start with '0', and must not be empty. |
15 double Strtod(Vector<const char> buffer, int exponent); | 15 double Strtod(Vector<const char> buffer, int exponent); |
16 | 16 |
17 } } // namespace v8::internal | 17 } // namespace internal |
| 18 } // namespace v8 |
18 | 19 |
19 #endif // V8_STRTOD_H_ | 20 #endif // V8_STRTOD_H_ |
OLD | NEW |