Changeset 13365 in webkit
- Timestamp:
- Mar 17, 2006, 2:03:39 PM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r13339 r13365 1 2006-03-11 Maciej Stachowiak <[email protected]> 2 3 Reviewed by Darin. 4 5 - fixed "charAt layout test fails on intel macs; some NaNs are printed as -NaN" 6 http://bugzilla.opendarwin.org/show_bug.cgi?id=7745 7 8 * kjs/ustring.cpp: 9 (KJS::UString::from): Use "NaN" for all NaN values, regardless of sign. 10 1 11 2006-03-16 Maciej Stachowiak <[email protected]> 2 12 -
trunk/JavaScriptCore/kjs/ustring.cpp
r13311 r13365 562 562 UString UString::from(double d) 563 563 { 564 // avoid ever printing -NaN, in JS conceptually there is only one NaN value 565 if (isNaN(d)) 566 return "NaN"; 567 564 568 char buf[80]; 565 569 int decimalPoint;
Note:
See TracChangeset
for help on using the changeset viewer.