Changeset 2173 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 26, 2002, 8:20:47 AM (23 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r2168 r2173 1 2002-09-26 Darin Adler <[email protected]> 2 3 Fix the infinity problem Dave worked around. We didn't have the 4 configuration flags set right to make infinity work. Setting those 5 properly made everything work without changes to min and max. 6 7 * kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and 8 also WORDS_BIGENDIAN (if on ppc). 9 10 * kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max 11 changes from yesterday. 12 1 13 2002-09-25 David Hyatt <[email protected]> 2 14 -
trunk/JavaScriptCore/ChangeLog-2002-12-03
r2168 r2173 1 2002-09-26 Darin Adler <[email protected]> 2 3 Fix the infinity problem Dave worked around. We didn't have the 4 configuration flags set right to make infinity work. Setting those 5 properly made everything work without changes to min and max. 6 7 * kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and 8 also WORDS_BIGENDIAN (if on ppc). 9 10 * kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max 11 changes from yesterday. 12 1 13 2002-09-25 David Hyatt <[email protected]> 2 14 -
trunk/JavaScriptCore/ChangeLog-2003-10-25
r2168 r2173 1 2002-09-26 Darin Adler <[email protected]> 2 3 Fix the infinity problem Dave worked around. We didn't have the 4 configuration flags set right to make infinity work. Setting those 5 properly made everything work without changes to min and max. 6 7 * kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and 8 also WORDS_BIGENDIAN (if on ppc). 9 10 * kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max 11 changes from yesterday. 12 1 13 2002-09-25 David Hyatt <[email protected]> 2 14 -
trunk/JavaScriptCore/kjs/config.h
r901 r2173 1 1 #define HAVE_FUNC_ISINF 1 2 #define HAVE_FUNC_ISNAN 1 3 #define HAVE_STRING_H 1 4 #define HAVE_STRINGS_H 1 5 #define HAVE_SYS_TIME_H 1 2 6 #define TIME_WITH_SYS_TIME 1 3 # define HAVE_SYS_TIME_H 14 #define HAVE_FUNC_ISNAN 15 # define HAVE_STRINGS_H7 #ifdef __ppc__ 8 #define WORDS_BIGENDIAN 1 9 #endif -
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.