Changeset 107625 in webkit for trunk/Source/JavaScriptCore/wtf/dtoa.h
- Timestamp:
- Feb 13, 2012, 3:38:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/dtoa.h
r104900 r107625 36 36 WTF_EXPORT_PRIVATE void dtoaRoundDP(DtoaBuffer result, double dd, int ndigits, bool& sign, int& exponent, unsigned& precision); 37 37 38 enum AllowTrailingJunkTag { DisallowTrailingJunk = 0, AllowTrailingJunk }; 39 38 40 // s00: input string. Must not be 0 and must be terminated by 0. 39 41 // se: *se will have the last consumed character position + 1. 40 WTF_EXPORT_PRIVATE double strtod(const char* s00, char** se); 42 template<AllowTrailingJunkTag allowTrailingJunk> 43 double strtod(const char* s00, char** se); 41 44 42 45 // Size = 80 for sizeof(DtoaBuffer) + some sign bits, decimal point, 'e', exponent digits.
Note:
See TracChangeset
for help on using the changeset viewer.