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
Decide if upcoming Temporal.Duration limits should have an impact on DurationFormat #157
Labels
consensus
We reached a consensus in a discussion meeting, through email or the issue discussion
Comments
If we restricted the permissible values to integer-valued Numbers less than Number.MAX_SAFE_INTEGER, then all the math should be doable in int64 space. Right now it looks like we have integer-valued Numbers but they can exceed MAX_SAFE_INTEGER. |
anba
added a commit
to anba/test262
that referenced
this issue
Aug 23, 2023
`Intl.DurationFormat` is currently spec'ed to use unlimited precision. See: tc39/proposal-intl-duration-format#157
sffc
added
the
Meeting Discussion
Need to be discussed in one of the upcoming meetings
label
Aug 23, 2023
@ben-allen or @ryzokuken please bring this to the floor in an upcoming TG2 call. |
anba
added a commit
to anba/test262
that referenced
this issue
Aug 25, 2023
`Intl.DurationFormat` is currently spec'ed to use unlimited precision. See: tc39/proposal-intl-duration-format#157
Ms2ger
pushed a commit
to anba/test262
that referenced
this issue
Aug 28, 2023
`Intl.DurationFormat` is currently spec'ed to use unlimited precision. See: tc39/proposal-intl-duration-format#157
Ms2ger
pushed a commit
to tc39/test262
that referenced
this issue
Aug 28, 2023
`Intl.DurationFormat` is currently spec'ed to use unlimited precision. See: tc39/proposal-intl-duration-format#157
sffc
added
consensus
We reached a consensus in a discussion meeting, through email or the issue discussion
and removed
Meeting Discussion
Need to be discussed in one of the upcoming meetings
labels
Nov 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
consensus
We reached a consensus in a discussion meeting, through email or the issue discussion
There are plans to limit
Temporal.Duration
values, details are still TBD. But we still need to decide if these limits should have an impact onIntl.DurationFormat
.The exact same issue was already discussed in #110, but that was before
Temporal
decided to reduce precision for theirTemporal.Duration
. Do we need to revisit #110?For example I'm currently using the following BigInt-based approach to correctly implement PartitionDurationFormatPattern, steps 4.j.iv.1-3:
This approach ensures the precise results are computed for inputs like:
Also see #110 and #151.
The text was updated successfully, but these errors were encountered: