strtod.h 597 Bytes
Newer Older
1
// Copyright 2010 the V8 project authors. All rights reserved.
2 3
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
4

5 6
#ifndef V8_NUMBERS_STRTOD_H_
#define V8_NUMBERS_STRTOD_H_
7

8
#include "src/utils/vector.h"
9

10 11 12 13 14
namespace v8 {
namespace internal {

// The buffer must only contain digits in the range [0-9]. It must not
// contain a dot or a sign. It must not start with '0', and must not be empty.
15
V8_EXPORT_PRIVATE double Strtod(Vector<const char> buffer, int exponent);
16

17 18
}  // namespace internal
}  // namespace v8
19

20
#endif  // V8_NUMBERS_STRTOD_H_