Changeset 27748 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp
- Timestamp:
- Nov 13, 2007, 12:05:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ustring.cpp
r27746 r27748 1002 1002 // whereas the ECMA spec requires that it be converted to NaN. 1003 1003 1004 if ( strncmp(c, "Infinity", 8) == 0) {1004 if (c[0] == 'I' && c[1] == 'n' && c[2] == 'f' && c[3] == 'i' && c[4] == 'n' && c[5] == 'i' && c[6] == 't' && c[7] == 'y') { 1005 1005 d = sign * Inf; 1006 1006 c += 8;
Note:
See TracChangeset
for help on using the changeset viewer.