DescriptionNumberFormat: default mnsd value is 1
CreateNumberFormat of src/js/i18n.js implements
http://www.ecma-international.org/ecma-402/1.0/#sec-11.1.1.1, but has a typo
in step 33a. The spec says that the default value for minimumSignificantDigits
should be 1, while the script set it to 0.
This CL fixes that typo and adds a test for that.
BUG=v8:5554
Review-Url: https://codereview.chromium.org/2694673003
Cr-Commit-Position: refs/heads/master@{#43197}
Committed: https://chromium.googlesource.com/v8/v8/+/0559fd7082fa9c12efd081e3e74fb34ecf6158ca
Patch Set 1 #
Messages
Total messages: 17 (9 generated)
|