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