Index: src/conversions.cc |
=================================================================== |
--- src/conversions.cc (revision 7898) |
+++ src/conversions.cc (working copy) |
@@ -734,7 +734,16 @@ |
empty_string_val); |
} |
+double StringToDouble(UnicodeCache* unicode_cache, |
+ Vector<const uc16> str, |
+ int flags, |
+ double empty_string_val) { |
+ const uc16* end = str.start() + str.length(); |
+ return InternalStringToDouble(unicode_cache, str.start(), end, flags, |
+ empty_string_val); |
+} |
+ |
const char* DoubleToCString(double v, Vector<char> buffer) { |
switch (fpclassify(v)) { |
case FP_NAN: return "NaN"; |