blob: f4ce731a17bded92829777b914204fa4ab43431f [file] [log] [blame]
Steve Block6ded16b2010-05-10 14:33:55 +01001// Copyright 2010 the V8 project authors. All rights reserved.
Ben Murdochb8a8cc12014-11-26 15:28:44 +00002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
Steve Blocka7e24c12009-10-30 11:49:00 +00004
Ben Murdochf87a2032010-10-22 12:50:53 +01005#ifndef V8_STRTOD_H_
6#define V8_STRTOD_H_
Steve Blocka7e24c12009-10-30 11:49:00 +00007
8namespace v8 {
9namespace internal {
10
Ben Murdochf87a2032010-10-22 12:50:53 +010011// The buffer must only contain digits in the range [0-9]. It must not
12// contain a dot or a sign. It must not start with '0', and must not be empty.
13double Strtod(Vector<const char> buffer, int exponent);
Steve Blocka7e24c12009-10-30 11:49:00 +000014
15} } // namespace v8::internal
Ben Murdochf87a2032010-10-22 12:50:53 +010016
17#endif // V8_STRTOD_H_