Changeset 43472 in webkit for trunk/JavaScriptCore
- Timestamp:
- May 10, 2009, 3:46:23 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r43471 r43472 1 2009-05-10 Darin Adler <[email protected]> 2 3 Reviewed by Maciej Stachowiak. 4 5 Quick fix for failures seen on buildbot. Maciej plans a better fix later. 6 7 * wtf/dtoa.cpp: Change the hardcoded number of 32-bit words in a BigInt 8 from 32 to 64. Parsing "1e500", for example, requires more than 32 words. 9 1 10 2009-05-10 Darin Adler <[email protected]> 2 11 -
trunk/JavaScriptCore/wtf/dtoa.cpp
r43463 r43472 282 282 BigInt(const BigInt& other) : sign(other.sign), wds(other.wds) 283 283 { 284 for (int i = 0; i < 32; ++i)284 for (int i = 0; i < 64; ++i) 285 285 x[i] = other.x[i]; 286 286 } … … 290 290 sign = other.sign; 291 291 wds = other.wds; 292 for (int i = 0; i < 32; ++i)292 for (int i = 0; i < 64; ++i) 293 293 x[i] = other.x[i]; 294 294 return *this; … … 297 297 int sign; 298 298 int wds; 299 uint32_t x[ 32];299 uint32_t x[64]; 300 300 }; 301 301
Note:
See TracChangeset
for help on using the changeset viewer.