Implement fast case for strtod.
authorfloitschV8@gmail.com <floitschV8@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Oct 2010 12:01:25 +0000 (12:01 +0000)
committerfloitschV8@gmail.com <floitschV8@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 7 Oct 2010 12:01:25 +0000 (12:01 +0000)
commitce666fc2fee57de7d42743e9cbfc5ca4530f7e56
treecf8e89cda836bb4ec93f1d21057ae09ca4d9a13d
parentd4afed6bffd8e2e68b41567de30ab02dbb688f5a
Implement fast case for strtod.

If there are few non-zero digits and the 10^exponent fits into a double then
we can compute the result using 1 (or 2) double operations.

BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/conversions.cc
src/strtod.cc
src/strtod.h
test/cctest/SConscript
test/cctest/test-strtod.cc [new file with mode: 0644]