Conversation
mathematical values rather than Numbers: * `ResolvePlural` * `ResolvePluralRange` This brings `Intl.PluralRules`'s behaviour into alignment with `Intl.NumberFormat`'s. Making this change has the following benefits: * Allows `Intl.PluralRules` to handle BigInts as well as numbers * Use of `ToIntlMathematicalValue` AO allows exact decimal values to be represented
eemeli
approved these changes
Sep 5, 2025
Contributor
Author
|
TG1 consensus achieved in September 2025 meeting |
ryzokuken
approved these changes
Nov 17, 2025
Contributor
|
Just wanted to mention that implementing this change causes the following test262 test to break: |
anba
added a commit
to anba/test262
that referenced
this pull request
Feb 5, 2026
BigInt inputs are valid after <tc39/ecma402#1026>.
anba
added a commit
to anba/test262
that referenced
this pull request
Feb 5, 2026
anba
added a commit
to anba/test262
that referenced
this pull request
Feb 5, 2026
When a rounding mode is set, there's an observable difference in implementations when <tc39/ecma402#1026> is not supported.
ptomato
pushed a commit
to anba/test262
that referenced
this pull request
Feb 5, 2026
BigInt inputs are valid after <tc39/ecma402#1026>.
ptomato
pushed a commit
to tc39/test262
that referenced
this pull request
Feb 5, 2026
BigInt inputs are valid after <tc39/ecma402#1026>.
lando-worker bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
Feb 11, 2026
…s. r=spidermonkey-reviewers,dminor Implements the changes from <tc39/ecma402#1026>. Test262 tests: <tc39/test262#4912>. Differential Revision: https://phabricator.services.mozilla.com/D281991
lando-worker bot
pushed a commit
to mozilla-firefox/firefox
that referenced
this pull request
Feb 18, 2026
…s. r=spidermonkey-reviewers,dminor Implements the changes from <tc39/ecma402#1026>. Test262 tests: <tc39/test262#4912>. Differential Revision: https://phabricator.services.mozilla.com/D281991
eemeli
added a commit
to tc39/proposal-intl-keep-trailing-zeros
that referenced
this pull request
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Normative: Updates the following
Intl.PluralRulesAOs to take Intl mathematical values rather than Numbers:ResolvePluralResolvePluralRangeThis allows
Intl.PluralRules.selectandIntl.PluralRules.selectRangeto take BigInts as arguments.fix #910