Changeset 2168 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 25, 2002, 3:46:33 PM (23 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r2167 r2168 1 2002-09-25 David Hyatt <[email protected]> 2 3 Fix the impls of min/max to not use +inf/-inf when you have 4 arguments. Technically there's still a bug here for the no 5 argument case, probably caused by a screwup when +inf/-inf are 6 converted to doubles. 7 8 * kjs/math_object.cpp: 9 (MathFuncImp::call): 10 1 11 2002-09-25 Darin Adler <[email protected]> 2 12 -
trunk/JavaScriptCore/ChangeLog-2002-12-03
r2167 r2168 1 2002-09-25 David Hyatt <[email protected]> 2 3 Fix the impls of min/max to not use +inf/-inf when you have 4 arguments. Technically there's still a bug here for the no 5 argument case, probably caused by a screwup when +inf/-inf are 6 converted to doubles. 7 8 * kjs/math_object.cpp: 9 (MathFuncImp::call): 10 1 11 2002-09-25 Darin Adler <[email protected]> 2 12 -
trunk/JavaScriptCore/ChangeLog-2003-10-25
r2167 r2168 1 2002-09-25 David Hyatt <[email protected]> 2 3 Fix the impls of min/max to not use +inf/-inf when you have 4 arguments. Technically there's still a bug here for the no 5 argument case, probably caused by a screwup when +inf/-inf are 6 converted to doubles. 7 8 * kjs/math_object.cpp: 9 (MathFuncImp::call): 10 1 11 2002-09-25 Darin Adler <[email protected]> 2 12 -
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.