Weed out extreme exponents in strtod.
authorfloitschV8@gmail.com <floitschV8@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 14 Oct 2010 13:47:48 +0000 (13:47 +0000)
committerfloitschV8@gmail.com <floitschV8@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 14 Oct 2010 13:47:48 +0000 (13:47 +0000)
commit2b226c598f7d358b173541abc2b35f60693a9765
tree462a01d504fe3b3caaa3c0048deac004a5cd482e
parentd5ac565882c6df2600677ffbc4a8f27d51f09cd5
Weed out extreme exponents in strtod.

If a decimal exponent is less than -309 return 0.0.
If a decimal exponent is greater than +324 return +infinity.

BUG=
TEST=

Review URL: http://codereview.chromium.org/3519017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5623 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/conversions.cc
src/strtod.cc
src/strtod.h
test/cctest/test-strtod.cc