]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/double-conversion-strtod.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / double-conversion-strtod.h
index e2d6d3c2fe5d7d849d2317ebb179328a7fae3bf6..50ef746401a90840b1012d87ffba87bfcc42680f 100644 (file)
@@ -54,6 +54,11 @@ double Strtod(Vector<const char> buffer, int exponent);
 // contain a dot or a sign. It must not start with '0', and must not be empty.
 float Strtof(Vector<const char> buffer, int exponent);
 
+// For special use cases, the heart of the Strtod() function is also available
+// separately, it assumes that 'trimmed' is as produced by TrimAndCut(), i.e.
+// no leading or trailing zeros, also no lone zero, and not 'too many' digits.
+double StrtodTrimmed(Vector<const char> trimmed, int exponent);
+
 }  // namespace double_conversion
 
 // ICU PATCH: Close ICU namespace