chromium/v8/src/base/numbers/strtod.h

// 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_BASE_NUMBERS_STRTOD_H_
#define V8_BASE_NUMBERS_STRTOD_H_

#include "src/base/vector.h"

namespace v8 {
namespace base {

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

}  // namespace base
}  // namespace v8

#endif  // V8_BASE_NUMBERS_STRTOD_H_