Changeset 2173 in webkit for trunk/JavaScriptCore/kjs/math_object.cpp
- Timestamp:
- Sep 26, 2002, 8:20:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/math_object.cpp
r2168 r2173 183 183 if ( isNaN( val ) ) 184 184 { 185 185 result = NaN; 186 186 break; 187 187 } 188 // Comparing a number to negative infinity doesn't work. 189 // -dwh 190 if ( k == 0 || val > result ) 188 if ( val > result ) 191 189 result = val; 192 190 } … … 203 201 break; 204 202 } 205 // Comparing a number to positive infinity doesn't work. 206 // -dwh 207 if ( k == 0 || val < result ) 203 if ( val < result ) 208 204 result = val; 209 205 }
Note:
See TracChangeset
for help on using the changeset viewer.