Changeset 38390 in webkit for trunk/JavaScriptCore/runtime/UString.cpp
- Timestamp:
- Nov 14, 2008, 9:49:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UString.cpp
r38138 r38390 776 776 int sign; 777 777 778 char* result = dtoa(d, 0, &decimalPoint, &sign, NULL);778 char* result = WTF::dtoa(d, 0, &decimalPoint, &sign, NULL); 779 779 int length = static_cast<int>(strlen(result)); 780 780 … … 827 827 } 828 828 829 freedtoa(result);829 WTF::freedtoa(result); 830 830 831 831 return concatenate(rep, buf); … … 924 924 int sign; 925 925 926 char* result = dtoa(d, 0, &decimalPoint, &sign, NULL);926 char* result = WTF::dtoa(d, 0, &decimalPoint, &sign, NULL); 927 927 int length = static_cast<int>(strlen(result)); 928 928 … … 975 975 } 976 976 977 freedtoa(result);977 WTF::freedtoa(result); 978 978 979 979 return UString(buf); … … 1282 1282 // regular number ? 1283 1283 char* end; 1284 d = strtod(c, &end);1284 d = WTF::strtod(c, &end); 1285 1285 if ((d != 0.0 || end != c) && d != Inf && d != -Inf) { 1286 1286 c = end;
Note:
See TracChangeset
for help on using the changeset viewer.