2010-10-07 08:54:10 +00:00
|
|
|
// Copyright 2010 the V8 project authors. All rights reserved.
|
2014-04-29 06:42:26 +00:00
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
2010-10-07 08:54:10 +00:00
|
|
|
|
|
|
|
#ifndef V8_STRTOD_H_
|
|
|
|
#define V8_STRTOD_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.
|
2010-10-14 13:47:48 +00:00
|
|
|
double Strtod(Vector<const char> buffer, int exponent);
|
2010-10-07 08:54:10 +00:00
|
|
|
|
|
|
|
} } // namespace v8::internal
|
|
|
|
|
2010-10-07 09:12:21 +00:00
|
|
|
#endif // V8_STRTOD_H_
|