Changeset 47622 in webkit for trunk/JavaScriptCore/runtime/UString.cpp
- Timestamp:
- Aug 20, 2009, 10:41:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UString.cpp
r47102 r47622 1028 1028 if (isnan(d)) 1029 1029 return "NaN"; 1030 if (!d) 1031 return "0"; // -0 -> "0" 1030 1032 1031 1033 char buf[80]; … … 1210 1212 } 1211 1213 1212 UString& UString::appendNumeric(int i)1213 {1214 m_rep = concatenate(rep(), i);1215 return *this;1216 }1217 1218 UString& UString::appendNumeric(double d)1219 {1220 m_rep = concatenate(rep(), d);1221 return *this;1222 }1223 1224 1214 UString& UString::append(const char* t) 1225 1215 {
Note:
See TracChangeset
for help on using the changeset viewer.