Add strtod test cases

Adds test cases from
http://www.exploringbinary.com/how-strtod-works-and-sometimes-doesnt/.

These currently fail on (see ps#1):
  - linux_chromium_gn_chromeos_rel
  - linux_chromium_asan_rel_ng
  - linux_chromium_chromeos_ozone_rel_ng
  - linux_chromium_rel_ng
  - cast_shell_linux

but despite history appear to be fine on Windows (as of VS2015). As they
were a bit of fiddling to get up and running, and we don't appear to have
any similar tests for dmg_fp, add these tests so that we can hopefully
drop dmg_fp in the future once std::strtod works more consistently
everywhere. https://crbug.com/95729 suggests another solution where it'd
be good to have these tests.

BUG=593512,615142,616062,588726,95729

Review-Url: https://codereview.chromium.org/2044643005
Cr-Commit-Position: refs/heads/master@{#399948}
1 file changed