summaryrefslogtreecommitdiff
path: root/deps/v8/src/strtod.h
blob: 75e60b029e34ae6ac138e669b0631a558ce5894f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2010 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_STRTOD_H_
#define V8_STRTOD_H_

#include "src/vector.h"

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.
double Strtod(Vector<const char> buffer, int exponent);

}  // namespace internal
}  // namespace v8

#endif  // V8_STRTOD_H_