Changeset 110657 in webkit for trunk/Source/JavaScriptCore/wtf/dtoa.cpp
- Timestamp:
- Mar 13, 2012, 7:12:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/dtoa.cpp
r107625 r110657 649 649 #define n_bigtens 5 650 650 651 template<AllowTrailingJunkTag allowTrailingJunk >651 template<AllowTrailingJunkTag allowTrailingJunk, AllowTrailingSpacesTag allowTrailingSpaces> 652 652 double strtod(const char* s00, char** se) 653 653 { … … 655 655 double_conversion::StringToDoubleConverter converter( 656 656 (allowTrailingJunk ? double_conversion::StringToDoubleConverter::ALLOW_TRAILING_JUNK : 0) | 657 (allowTrailingSpaces ? double_conversion::StringToDoubleConverter::ALLOW_TRAILING_SPACES : 0) | 657 658 double_conversion::StringToDoubleConverter::ALLOW_LEADING_SPACES, 658 659 0.0, … … 666 667 } 667 668 668 template double strtod<AllowTrailingJunk>(const char*, char**); 669 template double strtod<DisallowTrailingJunk>(const char*, char**); 669 template double strtod<AllowTrailingJunk, AllowTrailingSpaces>(const char*, char**); 670 template double strtod<AllowTrailingJunk, DisallowTrailingSpaces>(const char*, char**); 671 template double strtod<DisallowTrailingJunk, AllowTrailingSpaces>(const char*, char**); 672 template double strtod<DisallowTrailingJunk, DisallowTrailingSpaces>(const char*, char**); 670 673 671 674 static ALWAYS_INLINE int quorem(BigInt& b, BigInt& S)
Note:
See TracChangeset
for help on using the changeset viewer.