Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normative: Treat -0 as negative in NumberFormat #232

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

littledan
Copy link
Member

Closes #219

@littledan
Copy link
Member Author

Would anyone be interested in writing test262 tests for this change? @anba @jackhorton @Ms2ger

@jackhorton
Copy link
Contributor

This test would now be possible because of the required data frontmatter? Not sure how to test this other than to actually inspect the string coming out of format and/or the minusSign part coming out of formatToParts.

@Ms2ger
Copy link
Contributor

Ms2ger commented Jul 6, 2018

Test: tc39/test262#1628

@littledan
Copy link
Member Author

OK, has anyone implemented this in a JS engine? Now that there's a test262 test, it should be easier to verify.

Ms2ger added a commit to Ms2ger/test262 that referenced this pull request Jul 27, 2018
rwaldron pushed a commit to tc39/test262 that referenced this pull request Jul 27, 2018
@littledan
Copy link
Member Author

@jackhorton reported in July's meeting notes that this change is implemented in ChakraCore. Between the tests, the change, and the implementation experience. this patch is ready to land.

@littledan littledan merged commit 3207522 into tc39:master Jul 28, 2018
sffc added a commit to tc39/proposal-unified-intl-numberformat that referenced this pull request Jul 30, 2018
See #13. Merges change from tc39/ecma402#232 into Unified Intl.NumberFormat proposal.
@sffc
Copy link
Contributor

sffc commented Jul 30, 2018

I merged the change to the corresponding spot in my proposal.

brn pushed a commit to brn/v8 that referenced this pull request Jan 12, 2019
The spec changed in 7/2018 to treat -0 and 0 differently.
tc39/ecma402#232

Bug: v8:7474, v8:8099
Change-Id: I77db4ae716b081b7628dc7ee253a463520c7f6e9
Reviewed-on: https://chromium-review.googlesource.com/c/1400403
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58645}
chicoxyzzy pushed a commit to chicoxyzzy/test262 that referenced this pull request May 14, 2019
chicoxyzzy pushed a commit to chicoxyzzy/test262 that referenced this pull request May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants